Title: [161704] trunk/Source/WebCore
Revision
161704
Author
[email protected]
Date
2014-01-10 17:26:40 -0800 (Fri, 10 Jan 2014)

Log Message

Fix PlatformScreenIOS.mm for iOS. Unreviewed build fix.

PlatformScreen.h removed screenVerticalDPI and screenHorizontalDPI in r132419,
so remove the stale implementations on iOS. Also, add a notImplemented version
of screenColorProfile, which matches Mac and is unused in WebCore for this port.

* platform/ios/PlatformScreenIOS.mm:
(WebCore::screenColorProfile):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (161703 => 161704)


--- trunk/Source/WebCore/ChangeLog	2014-01-11 01:19:15 UTC (rev 161703)
+++ trunk/Source/WebCore/ChangeLog	2014-01-11 01:26:40 UTC (rev 161704)
@@ -1,3 +1,14 @@
+2014-01-10  Joseph Pecoraro  <[email protected]>
+
+        Fix PlatformScreenIOS.mm for iOS. Unreviewed build fix.
+
+        PlatformScreen.h removed screenVerticalDPI and screenHorizontalDPI in r132419,
+        so remove the stale implementations on iOS. Also, add a notImplemented version
+        of screenColorProfile, which matches Mac and is unused in WebCore for this port.
+
+        * platform/ios/PlatformScreenIOS.mm:
+        (WebCore::screenColorProfile):
+
 2014-01-10  Anders Carlsson  <[email protected]>
 
         CTTE FrameTree

Modified: trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm (161703 => 161704)


--- trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm	2014-01-11 01:19:15 UTC (rev 161703)
+++ trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm	2014-01-11 01:26:40 UTC (rev 161704)
@@ -36,18 +36,6 @@
 
 namespace WebCore {
 
-int screenHorizontalDPI(Widget*)
-{
-    notImplemented();
-    return 0;
-}
-
-int screenVerticalDPI(Widget*)
-{
-    notImplemented();
-    return 0;
-}
-
 int screenDepth(Widget*)
 {
     // Assume 32 bits per pixel. See <rdar://problem/9378829>.
@@ -65,7 +53,7 @@
     return false;
 }
 
-// These functions scale between screen and page coordinates because _javascript_/DOM operations 
+// These functions scale between screen and page coordinates because _javascript_/DOM operations
 // assume that the screen and the page share the same coordinate system.
 FloatRect screenRect(Widget* widget)
 {
@@ -89,4 +77,9 @@
     return enclosingIntRect(screenRect);
 }
 
+void screenColorProfile(ColorProfile&)
+{
+    notImplemented();
+}
+
 } // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to