[Cocoa][Mac] WKWebView should automatically set topContentInset when beneath a toolbar
[WebKit-https.git] / Tools / MiniBrowser / mac / BrowserWindowController.m
index 795f2a2..5e9ae86 100644 (file)
 
 - (void)windowDidLoad
 {
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
+    self.window.styleMask |= NSFullSizeContentViewWindowMask;
+#endif
+
     [super windowDidLoad];
 }