Unreviewed test fix after r230323
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Apr 2018 16:07:05 +0000 (16:07 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Apr 2018 16:07:05 +0000 (16:07 +0000)
* platform/mac/PlatformScreenMac.mm:
(WebCore::screen): Remove assertion we still hit due to event handling code.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230331 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/mac/PlatformScreenMac.mm

index d1decea..41d2c2a 100644 (file)
@@ -1,3 +1,10 @@
+2018-04-06  Brent Fulgham  <bfulgham@apple.com>
+
+        Unreviewed test fix after r230323
+
+        * platform/mac/PlatformScreenMac.mm:
+        (WebCore::screen): Remove assertion we still hit due to event handling code.
+
 2018-04-05  Youenn Fablet  <youenn@apple.com>
 
         REGRESSION (r230223): LayoutTest http/tests/contentextensions/css-display-none-overflows-rule-data-1.html is crashing
index 4c9fe70..34d6e9a 100644 (file)
@@ -197,13 +197,13 @@ FloatRect screenAvailableRect(Widget* widget)
 
 NSScreen *screen(NSWindow *window)
 {
-    RELEASE_ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer));
+    // FIXME: <https://webkit.org/b/184344> We should assert here if in WebContent process.
     return [window screen] ?: firstScreen();
 }
 
 NSScreen *screen(PlatformDisplayID displayID)
 {
-    // FIXME: <http://webkit.org/b/184344> We should assert here if in WebContent process.
+    // FIXME: <https://webkit.org/b/184344> We should assert here if in WebContent process.
     for (NSScreen *screen in [NSScreen screens]) {
         if (WebCore::displayID(screen) == displayID)
             return screen;