Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp

Issue 12575006: Merge 145319 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/chromium/src/WebHelperPluginImpl.cpp ('k') | Source/WebKit/chromium/src/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp
===================================================================
--- Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp (revision 145645)
+++ Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp (working copy)
@@ -22,6 +22,7 @@
#include "RenderView.h"
#include "TimeRanges.h"
#include "WebAudioSourceProvider.h"
+#include "WebDocument.h"
#include "WebFrameClient.h"
#include "WebFrameImpl.h"
#include "WebHelperPluginImpl.h"
@@ -290,8 +291,9 @@
WebPlugin* WebMediaPlayerClientImpl::createHelperPlugin(const WebString& pluginType, WebFrame* frame)
{
ASSERT(!m_helperPlugin);
+
WebViewImpl* webView = static_cast<WebViewImpl*>(frame->view());
- m_helperPlugin = webView->createHelperPlugin(pluginType);
+ m_helperPlugin = webView->createHelperPlugin(pluginType, frame->document());
if (!m_helperPlugin)
return 0;
« no previous file with comments | « Source/WebKit/chromium/src/WebHelperPluginImpl.cpp ('k') | Source/WebKit/chromium/src/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698