Remove -[WKContentView setViewportSize:]
authorbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Feb 2014 01:06:49 +0000 (01:06 +0000)
committerbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Feb 2014 01:06:49 +0000 (01:06 +0000)
https://bugs.webkit.org/show_bug.cgi?id=129071

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-02-19
Reviewed by Enrica Casucci.

I forgot to clean that up.

* UIProcess/API/ios/WKContentView.h:
* UIProcess/API/ios/WKContentView.mm:

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/ios/WKContentView.h
Source/WebKit2/UIProcess/API/ios/WKContentView.mm

index b07668b..2f48197 100644 (file)
@@ -1,3 +1,15 @@
+2014-02-19  Benjamin Poulain  <bpoulain@apple.com>
+
+        Remove -[WKContentView setViewportSize:]
+        https://bugs.webkit.org/show_bug.cgi?id=129071
+
+        Reviewed by Enrica Casucci.
+
+        I forgot to clean that up.
+
+        * UIProcess/API/ios/WKContentView.h:
+        * UIProcess/API/ios/WKContentView.mm:
+
 2014-02-19  Oliver Hunt  <oliver@apple.com>
 
         Add WK2 SPI to get bytecode profile from web process
index 87e0189..a3b37c5 100644 (file)
@@ -61,7 +61,6 @@ WK_API_CLASS
 - (instancetype)initWithFrame:(CGRect)frame context:(WebKit::WebContext&)context configuration:(WebKit::WebPageConfiguration)webPageConfiguration;
 
 - (void)setMinimumSize:(CGSize)size;
-- (void)setViewportSize:(CGSize)size;
 - (void)setMinimumLayoutSize:(CGSize)size;
 
 - (void)didFinishScrollTo:(CGPoint)contentOffset;
index 4a99c98..eb15e01 100644 (file)
@@ -181,12 +181,6 @@ using namespace WebKit;
     drawingArea->setCustomFixedPositionRect(fixedPosRect);
 }
 
-- (void)setViewportSize:(CGSize)size
-{
-    _page->setFixedLayoutSize(IntSize(size));
-    [self _updateViewExposedRect];
-}
-
 - (void)setMinimumLayoutSize:(CGSize)size
 {
     _page->setViewportConfigurationMinimumLayoutSize(IntSize(CGCeiling(size.width), CGCeiling(size.height)));