[chromium] Remove call to detach WebHelperPluginImpl's frame since it is never attached
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Feb 2013 02:54:40 +0000 (02:54 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Feb 2013 02:54:40 +0000 (02:54 +0000)
https://bugs.webkit.org/show_bug.cgi?id=110668

Patch by David Dorwin <ddorwin@chromium.org> on 2013-02-22
Reviewed by Adam Barth.

This fixes http://crbug.com/172764

* src/WebHelperPluginImpl.cpp:
(WebKit::WebHelperPluginImpl::destoryPage):

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

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

index faf82fa..ebaa443 100644 (file)
@@ -1,3 +1,15 @@
+2013-02-22  David Dorwin  <ddorwin@chromium.org>
+
+        [chromium] Remove call to detach WebHelperPluginImpl's frame since it is never attached
+        https://bugs.webkit.org/show_bug.cgi?id=110668
+
+        Reviewed by Adam Barth.
+
+        This fixes http://crbug.com/172764
+
+        * src/WebHelperPluginImpl.cpp:
+        (WebKit::WebHelperPluginImpl::destoryPage):
+
 2013-02-22  Aaron Colwell  <acolwell@chromium.org>
 
         Factor MediaSource methods out of MediaPlayer & MediaPlayerPrivate and into a new MediaSourcePrivate interface.
index b242f8f..9af794c 100644 (file)
@@ -209,9 +209,6 @@ void WebHelperPluginImpl::destoryPage()
     if (!m_page)
         return;
 
-    if (m_page->mainFrame())
-        m_page->mainFrame()->loader()->frameDetached();
-
     m_page.clear();
 }