Index: Source/web/WebDocument.cpp |
diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp |
index 3ade91248ed10e6de34ad41a78ad641643127338..5a106e3b2f726dc5c30c44f34b1a803cc3d5f32d 100644 |
--- a/Source/web/WebDocument.cpp |
+++ b/Source/web/WebDocument.cpp |
@@ -231,7 +231,7 @@ void WebDocument::watchCSSSelectors(const WebVector<WebString>& webSelectors) |
void WebDocument::cancelFullScreen() |
{ |
if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(*unwrap<Document>())) |
- fullscreen->webkitCancelFullScreen(); |
+ fullscreen->fullyExitFullscreen(); |
} |
WebElement WebDocument::fullScreenElement() const |