| Index: Source/web/WebDocument.cpp
|
| diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp
|
| index 3851e50144282dd696e773080060c5d63cfe27a2..ba0da496ae96c2e1b0a7e5266f426991c8c596a9 100644
|
| --- a/Source/web/WebDocument.cpp
|
| +++ b/Source/web/WebDocument.cpp
|
| @@ -225,14 +225,14 @@ void WebDocument::watchCSSSelectors(const WebVector<WebString>& webSelectors)
|
|
|
| void WebDocument::cancelFullScreen()
|
| {
|
| - if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(unwrap<Document>()))
|
| + if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(*unwrap<Document>()))
|
| fullscreen->webkitCancelFullScreen();
|
| }
|
|
|
| WebElement WebDocument::fullScreenElement() const
|
| {
|
| Element* fullScreenElement = 0;
|
| - if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(const_cast<WebDocument*>(this)->unwrap<Document>()))
|
| + if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(*const_cast<WebDocument*>(this)->unwrap<Document>()))
|
| fullScreenElement = fullscreen->webkitCurrentFullScreenElement();
|
| return WebElement(fullScreenElement);
|
| }
|
|
|