Unreviewed iOS build fix after r174400.
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Oct 2014 21:35:26 +0000 (21:35 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Oct 2014 21:35:26 +0000 (21:35 +0000)
Missing explicit WebKit:: namespace.

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _didCommitLoadForMainFrame]):
(-[WKWebView _restorePageStateToExposedRect:scale:]):
(-[WKWebView _restorePageStateToUnobscuredCenter:scale:]):

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm

index c49b8aa..916ab63 100644 (file)
@@ -1,3 +1,14 @@
+2014-10-07  Chris Dumez  <cdumez@apple.com>
+
+        Unreviewed iOS build fix after r174400.
+
+        Missing explicit WebKit:: namespace.
+
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        (-[WKWebView _didCommitLoadForMainFrame]):
+        (-[WKWebView _restorePageStateToExposedRect:scale:]):
+        (-[WKWebView _restorePageStateToUnobscuredCenter:scale:]):
+
 2014-10-07  Christophe Dumez  <cdumez@apple.com>
 
         Use is<>() / downcast<>() for RenderText / RenderTextFragment
index 4588f48..c2c2846 100644 (file)
@@ -799,7 +799,7 @@ static WebCore::Color scrollViewBackgroundColor(WKWebView *webView)
 
 - (void)_didCommitLoadForMainFrame
 {
-    _firstPaintAfterCommitLoadTransactionID = downcast<RemoteLayerTreeDrawingAreaProxy>(*_page->drawingArea()).nextLayerTreeTransactionID();
+    _firstPaintAfterCommitLoadTransactionID = downcast<WebKit::RemoteLayerTreeDrawingAreaProxy>(*_page->drawingArea()).nextLayerTreeTransactionID();
 
     _hasCommittedLoadForMainFrame = YES;
     _needsResetViewStateAfterCommitLoadForMainFrame = YES;
@@ -935,7 +935,7 @@ static inline bool withinEpsilon(TypeA a, TypeB b)
 
     _needsToRestoreUnobscuredCenter = NO;
     _needsToRestoreExposedRect = YES;
-    _firstTransactionIDAfterPageRestore = downcast<RemoteLayerTreeDrawingAreaProxy>(*_page->drawingArea()).nextLayerTreeTransactionID();
+    _firstTransactionIDAfterPageRestore = downcast<WebKit::RemoteLayerTreeDrawingAreaProxy>(*_page->drawingArea()).nextLayerTreeTransactionID();
     _exposedRectToRestore = exposedRect;
     _scaleToRestore = scale;
 }
@@ -950,7 +950,7 @@ static inline bool withinEpsilon(TypeA a, TypeB b)
 
     _needsToRestoreExposedRect = NO;
     _needsToRestoreUnobscuredCenter = YES;
-    _firstTransactionIDAfterPageRestore = downcast<RemoteLayerTreeDrawingAreaProxy>(*_page->drawingArea()).nextLayerTreeTransactionID();
+    _firstTransactionIDAfterPageRestore = downcast<WebKit::RemoteLayerTreeDrawingAreaProxy>(*_page->drawingArea()).nextLayerTreeTransactionID();
     _unobscuredCenterToRestore = center;
     _scaleToRestore = scale;
 }