| Index: Source/web/WebMediaPlayerClientImpl.cpp
|
| diff --git a/Source/web/WebMediaPlayerClientImpl.cpp b/Source/web/WebMediaPlayerClientImpl.cpp
|
| index a4097f6bf805b046615ebf14853f6e3c3ad78c7a..a5e2c6eb24fcfba3b940158db991abebefa70b25 100644
|
| --- a/Source/web/WebMediaPlayerClientImpl.cpp
|
| +++ b/Source/web/WebMediaPlayerClientImpl.cpp
|
| @@ -176,7 +176,7 @@ WebPlugin* WebMediaPlayerClientImpl::createHelperPlugin(const WebString& pluginT
|
| // FIXME: Remove this override and cast when Chromium is updated to use closeHelperPluginSoon().
|
| void WebMediaPlayerClientImpl::closeHelperPlugin()
|
| {
|
| - Frame* frame = static_cast<HTMLMediaElement*>(m_client)->document()->frame();
|
| + Frame* frame = static_cast<HTMLMediaElement*>(m_client)->document().frame();
|
| WebFrameImpl* webFrame = WebFrameImpl::fromFrame(frame);
|
| closeHelperPluginSoon(webFrame);
|
| }
|
| @@ -266,7 +266,7 @@ void WebMediaPlayerClientImpl::loadInternal()
|
| #endif
|
|
|
| // FIXME: Remove this cast
|
| - Frame* frame = static_cast<HTMLMediaElement*>(m_client)->document()->frame();
|
| + Frame* frame = static_cast<HTMLMediaElement*>(m_client)->document().frame();
|
|
|
| // This does not actually check whether the hardware can support accelerated
|
| // compositing, but only if the flag is set. However, this is checked lazily
|
|
|