[chromium] Fix typo: destoryPage() => destroyPage()
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Mar 2013 04:47:51 +0000 (04:47 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Mar 2013 04:47:51 +0000 (04:47 +0000)
https://bugs.webkit.org/show_bug.cgi?id=111664

Patch by David Dorwin <ddorwin@chromium.org> on 2013-03-06
Reviewed by Kentaro Hara.

* src/WebHelperPluginImpl.cpp:
(WebKit::WebHelperPluginImpl::closeHelperPlugin):
(WebKit::WebHelperPluginImpl::destroyPage):
* src/WebHelperPluginImpl.h:
(WebHelperPluginImpl):
* src/WebPagePopupImpl.cpp:
(WebKit::WebPagePopupImpl::destroyPage):
(WebKit::WebPagePopupImpl::close):
(WebKit::WebPagePopupImpl::closePopup):
* src/WebPagePopupImpl.h:
(WebPagePopupImpl):

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

Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/src/WebHelperPluginImpl.cpp
Source/WebKit/chromium/src/WebHelperPluginImpl.h
Source/WebKit/chromium/src/WebPagePopupImpl.cpp
Source/WebKit/chromium/src/WebPagePopupImpl.h

index 577e569..7843a93 100644 (file)
@@ -1,3 +1,22 @@
+2013-03-06  David Dorwin  <ddorwin@chromium.org>
+
+        [chromium] Fix typo: destoryPage() => destroyPage()
+        https://bugs.webkit.org/show_bug.cgi?id=111664
+
+        Reviewed by Kentaro Hara.
+
+        * src/WebHelperPluginImpl.cpp:
+        (WebKit::WebHelperPluginImpl::closeHelperPlugin):
+        (WebKit::WebHelperPluginImpl::destroyPage):
+        * src/WebHelperPluginImpl.h:
+        (WebHelperPluginImpl):
+        * src/WebPagePopupImpl.cpp:
+        (WebKit::WebPagePopupImpl::destroyPage):
+        (WebKit::WebPagePopupImpl::close):
+        (WebKit::WebPagePopupImpl::closePopup):
+        * src/WebPagePopupImpl.h:
+        (WebPagePopupImpl):
+
 2013-03-06  Ankur Taly  <ataly@google.com>
 
         Modify log method in WebDOMActivityLogger so that the apiName and
index f42ad80..40121da 100644 (file)
@@ -134,7 +134,7 @@ void WebHelperPluginImpl::closeHelperPlugin()
     // We must destroy the page now in case the host page is being destroyed, in
     // which case some of the objects the page depends on may have been
     // destroyed by the time this->close() is called asynchronously.
-    destoryPage();
+    destroyPage();
 
     // m_widgetClient might be 0 because this widget might be already closed.
     if (m_widgetClient) {
@@ -204,7 +204,7 @@ bool WebHelperPluginImpl::initializePage(WebKit::WebViewImpl* webView, const Str
     return true;
 }
 
-void WebHelperPluginImpl::destoryPage()
+void WebHelperPluginImpl::destroyPage()
 {
     if (!m_page)
         return;
index 5e1652b..b38334c 100644 (file)
@@ -64,7 +64,7 @@ public:
 private:
     explicit WebHelperPluginImpl(WebWidgetClient*);
     bool initializePage(WebKit::WebViewImpl*, const String& pluginType);
-    void destoryPage();
+    void destroyPage();
 
     // WebWidget methods:
     virtual void layout() OVERRIDE;
index 5a67f41..14c1dcf 100644 (file)
@@ -225,7 +225,7 @@ bool WebPagePopupImpl::initializePage()
     return true;
 }
 
-void WebPagePopupImpl::destoryPage()
+void WebPagePopupImpl::destroyPage()
 {
     if (!m_page)
         return;
@@ -317,7 +317,7 @@ void WebPagePopupImpl::setFocus(bool enable)
 void WebPagePopupImpl::close()
 {
     m_closing = true;
-    destoryPage(); // In case closePopup() was not called.
+    destroyPage(); // In case closePopup() was not called.
     m_widgetClient = 0;
     deref();
 }
@@ -332,7 +332,7 @@ void WebPagePopupImpl::closePopup()
     }
     m_closing = true;
 
-    destoryPage();
+    destroyPage();
 
     // m_widgetClient might be 0 because this widget might be already closed.
     if (m_widgetClient) {
index 8c87672..cf505d8 100644 (file)
@@ -85,7 +85,7 @@ private:
 
     explicit WebPagePopupImpl(WebWidgetClient*);
     bool initializePage();
-    void destoryPage();
+    void destroyPage();
 
     WebWidgetClient* m_widgetClient;
     WebRect m_windowRectInScreen;