Title: [211021] trunk/Source/WebKit/mac
Revision
211021
Author
[email protected]
Date
2017-01-21 18:16:33 -0800 (Sat, 21 Jan 2017)

Log Message

Remove -[WebFrame sendOrientationChangeEvent:] which is unused
https://bugs.webkit.org/show_bug.cgi?id=167276

Reviewed by Alex Christensen.

It was usurped by -deviceOrientationChanged in 2014.

* WebView/WebFrame.mm:
(-[WebFrame sendOrientationChangeEvent:]): Deleted.
* WebView/WebFramePrivate.h:

Modified Paths

Diff

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


--- trunk/Source/WebKit/mac/ChangeLog	2017-01-22 01:52:24 UTC (rev 211020)
+++ trunk/Source/WebKit/mac/ChangeLog	2017-01-22 02:16:33 UTC (rev 211021)
@@ -1,5 +1,18 @@
 2017-01-21  Simon Fraser  <[email protected]>
 
+        Remove -[WebFrame sendOrientationChangeEvent:] which is unused
+        https://bugs.webkit.org/show_bug.cgi?id=167276
+
+        Reviewed by Alex Christensen.
+        
+        It was usurped by -deviceOrientationChanged in 2014.
+
+        * WebView/WebFrame.mm:
+        (-[WebFrame sendOrientationChangeEvent:]): Deleted.
+        * WebView/WebFramePrivate.h:
+
+2017-01-21  Simon Fraser  <[email protected]>
+
         Remove -[WebView _contentsSizeRespectingOverflow] which is no longer needed
         https://bugs.webkit.org/show_bug.cgi?id=167271
 

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


--- trunk/Source/WebKit/mac/WebView/WebFrame.mm	2017-01-22 01:52:24 UTC (rev 211020)
+++ trunk/Source/WebKit/mac/WebView/WebFrame.mm	2017-01-22 02:16:33 UTC (rev 211021)
@@ -1279,11 +1279,6 @@
     });
 }
 
-- (void)sendOrientationChangeEvent:(int)newOrientation
-{
-    [self deviceOrientationChanged];
-}
-
 - (void)setNeedsLayout
 {
     WebCore::Frame *frame = core(self);

Modified: trunk/Source/WebKit/mac/WebView/WebFramePrivate.h (211020 => 211021)


--- trunk/Source/WebKit/mac/WebView/WebFramePrivate.h	2017-01-22 01:52:24 UTC (rev 211020)
+++ trunk/Source/WebKit/mac/WebView/WebFramePrivate.h	2017-01-22 02:16:33 UTC (rev 211021)
@@ -120,8 +120,6 @@
 - (void)_restoreViewState;
 
 - (void)deviceOrientationChanged;
-// FIXME: deprecated, to be removed after the call sites are updated.
-- (void)sendOrientationChangeEvent:(int)newOrientation;
 
 - (void)setNeedsLayout;
 - (CGSize)renderedSizeOfNode:(DOMNode *)node constrainedToWidth:(float)width;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to