Changeset 125500 in webkit
- Timestamp:
- Aug 13, 2012 7:37:54 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r125498 r125500 1 2012-08-13 Tom Sepez <tsepez@chromium.org> 2 3 [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. 4 https://bugs.webkit.org/show_bug.cgi?id=93283 5 6 Reviewed by Eric Seidel. 7 8 Chromium has a refptr that needs to be NULLed at this point. 9 10 The approach is to change the client redirectDataToPlugin method(s) to expect 11 the possibility of a NULL argument, and the use this to clear the refptr on 12 the chromium platform. Other platforms can merely ignore the NULL case, thereby 13 maintaining the existing behaviour. 14 15 Formal testing is nearly impossible without some chrome-specific plugins. 16 17 * html/PluginDocument.cpp: 18 (WebCore::PluginDocument::detach): 19 1 20 2012-08-13 Eric Penner <epenner@google.com> 2 21 -
trunk/Source/WebCore/html/PluginDocument.cpp
r97103 r125500 169 169 // Release the plugin node so that we don't have a circular reference. 170 170 m_pluginNode = 0; 171 if (FrameLoader* loader = frame()->loader()) 172 loader->client()->redirectDataToPlugin(0); 171 173 HTMLDocument::detach(); 172 174 } -
trunk/Source/WebKit/blackberry/ChangeLog
r125441 r125500 1 2012-08-13 Tom Sepez <tsepez@chromium.org> 2 3 [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. 4 https://bugs.webkit.org/show_bug.cgi?id=93283 5 6 Reviewed by Eric Seidel. 7 8 Change the client redirectDataToPlugin method(s) to expect the possibility of 9 a NULL argument, keeping existing behaviour otherwise. 10 11 * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: 12 (WebCore::FrameLoaderClientBlackBerry::redirectDataToPlugin): 13 1 14 2012-08-13 Mike Fenton <mifenton@rim.com> 2 15 -
trunk/Source/WebKit/blackberry/WebCoreSupport/FrameLoaderClientBlackBerry.cpp
r124982 r125500 347 347 void FrameLoaderClientBlackBerry::redirectDataToPlugin(Widget* pluginWidget) 348 348 { 349 ASSERT(!m_pluginView);350 349 m_pluginView = static_cast<PluginView*>(pluginWidget); 351 m_hasSentResponseToPlugin = false; 350 if (pluginWidget) 351 m_hasSentResponseToPlugin = false; 352 352 } 353 353 -
trunk/Source/WebKit/chromium/ChangeLog
r125498 r125500 1 2012-08-13 Tom Sepez <tsepez@chromium.org> 2 3 [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. 4 https://bugs.webkit.org/show_bug.cgi?id=93283 5 6 Reviewed by Eric Seidel. 7 8 Change the client redirectDataToPlugin method(s) to expect the possibility of 9 a NULL argument, NULLing Chromium's refptr that needs to be NULLed. 10 11 * src/FrameLoaderClientImpl.cpp: 12 (WebKit::FrameLoaderClientImpl::redirectDataToPlugin): 13 1 14 2012-08-13 Eric Penner <epenner@google.com> 2 15 -
trunk/Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp
r125108 r125500 1491 1491 void FrameLoaderClientImpl::redirectDataToPlugin(Widget* pluginWidget) 1492 1492 { 1493 if (pluginWidget->isPluginContainer()) 1494 m_pluginWidget = static_cast<WebPluginContainerImpl*>(pluginWidget); 1495 ASSERT(m_pluginWidget); 1493 ASSERT(!pluginWidget || pluginWidget->isPluginContainer()); 1494 m_pluginWidget = static_cast<WebPluginContainerImpl*>(pluginWidget); 1496 1495 } 1497 1496 -
trunk/Source/WebKit/efl/ChangeLog
r125369 r125500 1 2012-08-13 Tom Sepez <tsepez@chromium.org> 2 3 [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. 4 https://bugs.webkit.org/show_bug.cgi?id=93283 5 6 Reviewed by Eric Seidel. 7 8 Change the client redirectDataToPlugin method(s) to expect the possibility of 9 a NULL argument, keeping existing behaviour otherwise. 10 11 * WebCoreSupport/FrameLoaderClientEfl.cpp: 12 (WebCore::FrameLoaderClientEfl::redirectDataToPlugin): 13 1 14 2012-08-12 Krzysztof Czech <k.czech@samsung.com> 2 15 -
trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp
r123004 r125500 372 372 void FrameLoaderClientEfl::redirectDataToPlugin(Widget* pluginWidget) 373 373 { 374 ASSERT(!m_pluginView);375 374 m_pluginView = static_cast<PluginView*>(pluginWidget); 376 m_hasSentResponseToPlugin = false; 375 if (pluginWidget) 376 m_hasSentResponseToPlugin = false; 377 377 } 378 378 -
trunk/Source/WebKit/gtk/ChangeLog
r125407 r125500 1 2012-08-13 Tom Sepez <tsepez@chromium.org> 2 3 [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. 4 https://bugs.webkit.org/show_bug.cgi?id=93283 5 6 Reviewed by Eric Seidel. 7 8 Change the client redirectDataToPlugin method(s) to expect the possibility of 9 a NULL argument, keeping existing behaviour otherwise. 10 11 * WebCoreSupport/FrameLoaderClientGtk.cpp: 12 (WebKit::FrameLoaderClient::redirectDataToPlugin): 13 1 14 2012-08-13 Martin Robinson <mrobinson@igalia.com> 2 15 -
trunk/Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
r116121 r125500 535 535 void FrameLoaderClient::redirectDataToPlugin(Widget* pluginWidget) 536 536 { 537 ASSERT(!m_pluginView);538 537 m_pluginView = static_cast<PluginView*>(pluginWidget); 539 m_hasSentResponseToPlugin = false; 538 if (pluginWidget) 539 m_hasSentResponseToPlugin = false; 540 540 } 541 541 -
trunk/Source/WebKit/qt/ChangeLog
r125428 r125500 1 2012-08-13 Tom Sepez <tsepez@chromium.org> 2 3 [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. 4 https://bugs.webkit.org/show_bug.cgi?id=93283 5 6 Reviewed by Eric Seidel. 7 8 Change the client redirectDataToPlugin method(s) to expect the possibility of 9 a NULL argument, keeping existing behaviour otherwise. 10 11 * WebCoreSupport/FrameLoaderClientQt.cpp: 12 (WebCore::FrameLoaderClientQt::redirectDataToPlugin): 13 1 14 2012-08-13 Simon Hausmann <simon.hausmann@nokia.com> 2 15 -
trunk/Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
r125352 r125500 1639 1639 void FrameLoaderClientQt::redirectDataToPlugin(Widget* pluginWidget) 1640 1640 { 1641 ASSERT(!m_pluginView);1642 1641 m_pluginView = static_cast<PluginView*>(pluginWidget); 1643 m_hasSentResponseToPlugin = false; 1642 if (pluginWidget) 1643 m_hasSentResponseToPlugin = false; 1644 1644 } 1645 1645 -
trunk/Source/WebKit/win/ChangeLog
r124719 r125500 1 2012-08-13 Tom Sepez <tsepez@chromium.org> 2 3 [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. 4 https://bugs.webkit.org/show_bug.cgi?id=93283 5 6 Reviewed by Eric Seidel. 7 8 Change the client redirectDataToPlugin method(s) to expect the possibility of 9 a NULL argument, keeping existing behaviour otherwise. 10 11 * WebCoreSupport/WebFrameLoaderClient.cpp: 12 (WebFrameLoaderClient::redirectDataToPlugin): 13 1 14 2012-08-05 Patrick Gansterer <paroga@webkit.org> 2 15 -
trunk/Source/WebKit/win/WebCoreSupport/WebFrameLoaderClient.cpp
r116121 r125500 886 886 { 887 887 // Ideally, this function shouldn't be necessary, see <rdar://problem/4852889> 888 889 if (pluginWidget->isPluginView()) 888 if (!pluginWidget || pluginWidget->isPluginView()) 890 889 m_manualLoader = static_cast<PluginView*>(pluginWidget); 891 890 else -
trunk/Source/WebKit/wince/ChangeLog
r123354 r125500 1 2012-08-13 Tom Sepez <tsepez@chromium.org> 2 3 [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. 4 https://bugs.webkit.org/show_bug.cgi?id=93283 5 6 Reviewed by Eric Seidel. 7 8 Change the client redirectDataToPlugin method(s) to expect the possibility of 9 a NULL argument, keeping existing behaviour otherwise. 10 11 * WebCoreSupport/FrameLoaderClientWinCE.cpp: 12 (WebKit::FrameLoaderClientWinCE::redirectDataToPlugin): 13 1 14 2012-07-23 Pierre Rossi <pierre.rossi@gmail.com> 2 15 -
trunk/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.cpp
r116121 r125500 175 175 void FrameLoaderClientWinCE::redirectDataToPlugin(Widget* pluginWidget) 176 176 { 177 ASSERT(!m_pluginView);178 177 m_pluginView = static_cast<PluginView*>(pluginWidget); 179 m_hasSentResponseToPlugin = false; 178 if (pluginWidget) 179 m_hasSentResponseToPlugin = false; 180 180 } 181 181 -
trunk/Source/WebKit/wx/ChangeLog
r123354 r125500 1 2012-08-13 Tom Sepez <tsepez@chromium.org> 2 3 [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. 4 https://bugs.webkit.org/show_bug.cgi?id=93283 5 6 Reviewed by Eric Seidel. 7 8 Chromium has a refptr that needs to be NULLed at this point. 9 10 Change the client redirectDataToPlugin method(s) to expect the possibility of 11 a NULL argument, keeping existing behaviour otherwise. 12 13 * WebKitSupport/FrameLoaderClientWx.cpp: 14 (WebCore::FrameLoaderClientWx::redirectDataToPlugin): 15 1 16 2012-07-23 Pierre Rossi <pierre.rossi@gmail.com> 2 17 -
trunk/Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.cpp
r116121 r125500 905 905 void FrameLoaderClientWx::redirectDataToPlugin(Widget* pluginWidget) 906 906 { 907 ASSERT(!m_pluginView);908 907 m_pluginView = static_cast<PluginView*>(pluginWidget); 909 m_hasSentResponseToPlugin = false; 908 if (pluginWidget) 909 m_hasSentResponseToPlugin = false; 910 910 } 911 911 -
trunk/Source/WebKit2/ChangeLog
r125470 r125500 1 2012-08-13 Tom Sepez <tsepez@chromium.org> 2 3 [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. 4 https://bugs.webkit.org/show_bug.cgi?id=93283 5 6 Reviewed by Eric Seidel. 7 8 Chromium has a refptr that needs to be NULLed at this point. 9 10 Change the client redirectDataToPlugin method(s) to expect the possibility of 11 a NULL argument, keeping existing behaviour otherwise. 12 13 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: 14 (WebKit::WebFrameLoaderClient::redirectDataToPlugin): 15 1 16 2012-08-13 Raphael Kubo da Costa <rakuco@webkit.org> 2 17 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
r124622 r125500 1357 1357 void WebFrameLoaderClient::redirectDataToPlugin(Widget* pluginWidget) 1358 1358 { 1359 ASSERT(!m_pluginView);1360 ASSERT(pluginWidget);1361 1362 1359 m_pluginView = static_cast<PluginView*>(pluginWidget); 1363 1360 }
Note: See TracChangeset
for help on using the changeset viewer.