| Index: Source/core/dom/FullscreenElementStack.h
|
| diff --git a/Source/core/dom/FullscreenElementStack.h b/Source/core/dom/FullscreenElementStack.h
|
| index fcf9996cb03639e1081a57d4f7649291132bd937..8e5e986231e8afc9e725a0c464f2b4edaad2059a 100644
|
| --- a/Source/core/dom/FullscreenElementStack.h
|
| +++ b/Source/core/dom/FullscreenElementStack.h
|
| @@ -118,7 +118,7 @@ private:
|
|
|
| inline bool FullscreenElementStack::isActiveFullScreenElement(const Element* element)
|
| {
|
| - FullscreenElementStack* controller = fromIfExists(element->document());
|
| + FullscreenElementStack* controller = fromIfExists(&element->document());
|
| if (!controller)
|
| return false;
|
| return controller->webkitIsFullScreen() && controller->webkitCurrentFullScreenElement() == element;
|
|
|