    }
  
    // Show the new window.
-@@ -2213,7 +2233,13 @@ nsCocoaWindow::SetDrawsTitle(bool aDrawTitle)
+@@ -2213,7 +2253,13 @@ nsCocoaWindow::SetDrawsTitle(bool aDrawTitle)
  {
    NS_OBJC_BEGIN_TRY_ABORT_BLOCK;
  

     [gSwizzledFrameViewClasses addObject:frameViewClass];
   }
 
@@ -3008,6 +3051,9 @@ static const NSString* kStateCollectionBehavior = @"collectionBehavior";
   if (changed) {
     [self updateContentViewSize];
     [self reflowTitlebarElements];

 @end
 
 static NSMutableSet *gSwizzledFrameViewClasses = nil;
@@ -2870,6 +2922,9 @@ static NSMutableSet *gSwizzledFrameViewClasses = nil;
   static IMP our_fullScreenButtonOrigin =
     class_getMethodImplementation([NSView class],
                                   @selector(FrameView__fullScreenButtonOrigin));
