Title: [161606] trunk/Source/WebKit2
Revision
161606
Author
timothy_hor...@apple.com
Date
2014-01-09 17:18:18 -0800 (Thu, 09 Jan 2014)

Log Message

Upstream iOS changes after r161530
https://bugs.webkit.org/show_bug.cgi?id=126728

Reviewed by Dean Jackson.

* UIProcess/API/ios/WKContentView.mm:
(-[WKContentView setViewportSize:]):
(-[WKContentView didFinishScrollTo:]):
(-[WKContentView didScrollTo:]):
Adopt the new approach.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (161605 => 161606)


--- trunk/Source/WebKit2/ChangeLog	2014-01-10 01:12:57 UTC (rev 161605)
+++ trunk/Source/WebKit2/ChangeLog	2014-01-10 01:18:18 UTC (rev 161606)
@@ -1,3 +1,16 @@
+2014-01-09  Tim Horton  <timothy_hor...@apple.com>
+
+        Upstream iOS changes after r161530
+        https://bugs.webkit.org/show_bug.cgi?id=126728
+
+        Reviewed by Dean Jackson.
+
+        * UIProcess/API/ios/WKContentView.mm:
+        (-[WKContentView setViewportSize:]):
+        (-[WKContentView didFinishScrollTo:]):
+        (-[WKContentView didScrollTo:]):
+        Adopt the new approach.
+
 2014-01-09  Brian Burg  <bb...@apple.com>
 
         REGRESSION (r160152): Selection drag snapshot doesn't appear or has the wrong content on Retina

Modified: trunk/Source/WebKit2/UIProcess/API/ios/WKContentView.mm (161605 => 161606)


--- trunk/Source/WebKit2/UIProcess/API/ios/WKContentView.mm	2014-01-10 01:12:57 UTC (rev 161605)
+++ trunk/Source/WebKit2/UIProcess/API/ios/WKContentView.mm	2014-01-10 01:18:18 UTC (rev 161606)
@@ -138,18 +138,18 @@
 - (void)setViewportSize:(CGSize)size
 {
     _page->setFixedLayoutSize(IntSize(size));
-    _page->viewExposedRectChanged(FloatRect(_page->viewExposedRect().location(), FloatSize(size)), WebPageProxy::ClipsToExposedRect::Clip);
+    _page->drawingArea()->setExposedRect(FloatRect(_page->drawingArea()->exposedRect().location(), FloatSize(size)));
 }
 
 - (void)didFinishScrollTo:(CGPoint)contentOffset
 {
     _page->didFinishScrolling(contentOffset);
-    _page->viewExposedRectChanged(FloatRect(FloatPoint(contentOffset), _page->fixedLayoutSize()), WebPageProxy::ClipsToExposedRect::Clip);
+    _page->drawingArea()->setExposedRect(FloatRect(FloatPoint(contentOffset), _page->fixedLayoutSize()));
 }
 
 - (void)didScrollTo:(CGPoint)contentOffset
 {
-    _page->viewExposedRectChanged(FloatRect(FloatPoint(contentOffset), _page->fixedLayoutSize()), WebPageProxy::ClipsToExposedRect::Clip);
+    _page->drawingArea()->setExposedRect(FloatRect(FloatPoint(contentOffset), _page->fixedLayoutSize()));
 }
 
 - (void)didZoomToScale:(CGFloat)scale
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to