| Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| index d6ea2565cecc0eb2afd2a57486842fcc0d65e422..586cd17f3b835c449555d8cbe5983047242a0c68 100644
|
| --- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| @@ -321,9 +321,7 @@ void WebPluginContainerImpl::requestFullscreen()
|
|
|
| bool WebPluginContainerImpl::isFullscreenElement() const
|
| {
|
| - if (Fullscreen* fullscreen = Fullscreen::fromIfExists(m_element->document()))
|
| - return m_element == fullscreen->webkitCurrentFullScreenElement();
|
| - return false;
|
| + return Fullscreen::isCurrentFullScreenElement(*m_element);
|
| }
|
|
|
| void WebPluginContainerImpl::cancelFullscreen()
|
|
|