| Index: Source/core/dom/Fullscreen.cpp
|
| diff --git a/Source/core/dom/Fullscreen.cpp b/Source/core/dom/Fullscreen.cpp
|
| index e2e2d61085182817d15215f6af7ce1fb03380930..d78d0e2081dc01a1a27794b812d70f0f644a31ee 100644
|
| --- a/Source/core/dom/Fullscreen.cpp
|
| +++ b/Source/core/dom/Fullscreen.cpp
|
| @@ -122,9 +122,7 @@ Element* Fullscreen::currentFullScreenElementFrom(Document& document)
|
|
|
| bool Fullscreen::isFullScreen(Document& document)
|
| {
|
| - if (Fullscreen* found = fromIfExists(document))
|
| - return found->webkitIsFullScreen();
|
| - return false;
|
| + return currentFullScreenElementFrom(document);
|
| }
|
|
|
| Fullscreen::Fullscreen(Document& document)
|
|
|