| 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;
|
|
|
|
|