Fix plugin visibility check.
authorbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Aug 2014 21:22:13 +0000 (21:22 +0000)
committerbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Aug 2014 21:22:13 +0000 (21:22 +0000)
https://bugs.webkit.org/show_bug.cgi?id=135991

D'oh, more unreviewed typo fix. :-(

* PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::visibilityDidChange):
(WebKit::PluginControllerProxy::windowVisibilityChanged):
(WebKit::PluginControllerProxy::updateVisibilityActivity):
(WebKit::PluginControllerProxy::updateVisiblityActivity): Deleted.
* PluginProcess/PluginControllerProxy.h:

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

Source/WebKit2/ChangeLog
Source/WebKit2/PluginProcess/PluginControllerProxy.cpp
Source/WebKit2/PluginProcess/PluginControllerProxy.h

index 1934ce6..38c22f2 100644 (file)
@@ -1,3 +1,17 @@
+2014-08-15  Gavin Barraclough  <barraclough@apple.com>
+
+        Fix plugin visibility check.
+        https://bugs.webkit.org/show_bug.cgi?id=135991
+
+        D'oh, more unreviewed typo fix. :-(
+
+        * PluginProcess/PluginControllerProxy.cpp:
+        (WebKit::PluginControllerProxy::visibilityDidChange):
+        (WebKit::PluginControllerProxy::windowVisibilityChanged):
+        (WebKit::PluginControllerProxy::updateVisibilityActivity):
+        (WebKit::PluginControllerProxy::updateVisiblityActivity): Deleted.
+        * PluginProcess/PluginControllerProxy.h:
+
 2014-08-15  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         Implement snapping behavior for iOS
@@ -33,7 +47,7 @@
         (WebKit::PluginControllerProxy::PluginControllerProxy):
         (WebKit::PluginControllerProxy::visibilityDidChange):
         (WebKit::PluginControllerProxy::windowVisibilityChanged):
-        (WebKit::PluginControllerProxy::updateVisiblityActivity):
+        (WebKit::PluginControllerProxy::updateVisibilityActivity):
         * PluginProcess/PluginControllerProxy.h:
 
 2014-08-15  Gavin Barraclough  <barraclough@apple.com>
@@ -51,8 +65,8 @@
             - initialize member state.
         (WebKit::PluginControllerProxy::visibilityDidChange):
         (WebKit::PluginControllerProxy::windowVisibilityChanged):
-            - update member state & call updateVisiblityActivity.
-        (WebKit::PluginControllerProxy::updateVisiblityActivity):
+            - update member state & call updateVisibilityActivity.
+        (WebKit::PluginControllerProxy::updateVisibilityActivity):
             - enable the UserActivity only if both visibilities are true.
         * PluginProcess/PluginControllerProxy.h:
             - added m_isVisible, m_isWindowVisible, updateVisibilityActivity.
index 0c84254..5867a71 100644 (file)
@@ -437,7 +437,7 @@ void PluginControllerProxy::visibilityDidChange(bool isVisible)
     ASSERT(m_plugin);
     m_plugin->visibilityDidChange(isVisible);
 
-    updateVisiblityActivity();
+    updateVisibilityActivity();
 }
 
 void PluginControllerProxy::windowFocusChanged(bool hasFocus)
@@ -453,10 +453,10 @@ void PluginControllerProxy::windowVisibilityChanged(bool isVisible)
     ASSERT(m_plugin);
     m_plugin->windowVisibilityChanged(isVisible);
 
-    updateVisiblityActivity();
+    updateVisibilityActivity();
 }
 
-void PluginControllerProxy::updateVisiblityActivity()
+void PluginControllerProxy::updateVisibilityActivity()
 {
     if (m_isVisible && m_isWindowVisible)
         m_visiblityActivity.start();
index cbd10ee..ac573de 100644 (file)
@@ -151,7 +151,7 @@ private:
 
     void windowFocusChanged(bool);
     void windowVisibilityChanged(bool);
-    void updateVisiblityActivity();
+    void updateVisibilityActivity();
 
 #if PLATFORM(COCOA)
     void windowAndViewFramesChanged(const WebCore::IntRect& windowFrameInScreenCoordinates, const WebCore::IntRect& viewFrameInWindowCoordinates);