Title: [211020] trunk/Source/WebKit/mac
Revision
211020
Author
[email protected]
Date
2017-01-21 17:52:24 -0800 (Sat, 21 Jan 2017)

Log Message

Remove -[WebView _contentsSizeRespectingOverflow] which is no longer needed
https://bugs.webkit.org/show_bug.cgi?id=167271

Reviewed by Alex Christensen.

-_contentsSizeRespectingOverflow was added to try to make viewport sizing on iOS respect
overflow:hidden on the body (webkit.org/b/146924) but that was reverted (webkit.org/b/152803),

* WebView/WebView.mm:
(-[WebView _contentsSizeRespectingOverflow]): Deleted.
* WebView/WebViewPrivate.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (211019 => 211020)


--- trunk/Source/WebKit/mac/ChangeLog	2017-01-22 01:52:04 UTC (rev 211019)
+++ trunk/Source/WebKit/mac/ChangeLog	2017-01-22 01:52:24 UTC (rev 211020)
@@ -1,3 +1,17 @@
+2017-01-21  Simon Fraser  <[email protected]>
+
+        Remove -[WebView _contentsSizeRespectingOverflow] which is no longer needed
+        https://bugs.webkit.org/show_bug.cgi?id=167271
+
+        Reviewed by Alex Christensen.
+        
+        -_contentsSizeRespectingOverflow was added to try to make viewport sizing on iOS respect
+        overflow:hidden on the body (webkit.org/b/146924) but that was reverted (webkit.org/b/152803),
+
+        * WebView/WebView.mm:
+        (-[WebView _contentsSizeRespectingOverflow]): Deleted.
+        * WebView/WebViewPrivate.h:
+
 2017-01-20  Joseph Pecoraro  <[email protected]>
 
         Remove never changing IndexedDB RuntimeEnabledFeature

Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (211019 => 211020)


--- trunk/Source/WebKit/mac/WebView/WebView.mm	2017-01-22 01:52:04 UTC (rev 211019)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm	2017-01-22 01:52:24 UTC (rev 211020)
@@ -1966,12 +1966,6 @@
     return _private->page->renderTreeSize();
 }
 
-// FIXME: This is incorrectly named, and should be removed <rdar://problem/22242515>.
-- (NSSize)_contentsSizeRespectingOverflow
-{
-    return [[[[self mainFrame] frameView] documentView] bounds].size;
-}
-
 - (void)_dispatchTileDidDraw:(CALayer*)tile
 {
     id mailDelegate = [self _webMailDelegate];

Modified: trunk/Source/WebKit/mac/WebView/WebViewPrivate.h (211019 => 211020)


--- trunk/Source/WebKit/mac/WebView/WebViewPrivate.h	2017-01-22 01:52:04 UTC (rev 211019)
+++ trunk/Source/WebKit/mac/WebView/WebViewPrivate.h	2017-01-22 01:52:24 UTC (rev 211020)
@@ -440,7 +440,6 @@
 - (DOMCSSStyleDeclaration *)styleAtSelectionStart;
 
 - (NSUInteger)_renderTreeSize;
-- (NSSize)_contentsSizeRespectingOverflow;
 
 /*!
  * @method _handleMemoryWarning
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to