Speculative build fix.
authorbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Jan 2015 00:17:42 +0000 (00:17 +0000)
committerbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Jan 2015 00:17:42 +0000 (00:17 +0000)
* WebView/WebView.mm:
(-[WebView _convertRectFromRootView:]):

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

Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebView.mm

index c63c5f9..6f476d2 100644 (file)
@@ -1,3 +1,10 @@
+2015-01-19  Beth Dakin  <bdakin@apple.com>
+
+        Speculative build fix.
+
+        * WebView/WebView.mm:
+        (-[WebView _convertRectFromRootView:]):
+
 2015-01-19  Timothy Horton  <timothy_horton@apple.com>
 
         Adjust naming of action menu SPI
index 7d38cd2..4124803 100644 (file)
@@ -8572,8 +8572,10 @@ static void glibContextIterationCallback(CFRunLoopObserverRef, CFRunLoopActivity
 
 - (NSRect)_convertRectFromRootView:(NSRect)rect
 {
+#if PLATFORM(MAC)
     if (self.isFlipped)
         return rect;
+#endif
     return NSMakeRect(rect.origin.x, [self bounds].size.height - rect.origin.y - rect.size.height, rect.size.width, rect.size.height);
 }