Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 60619543c27dac76fbb0c2b0e0a11d745c490bdf..d790023721f6549ab7dc9ce22730f90859e7f6e5 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -241,7 +241,7 @@ InternalSettings* Internals::settings() const |
Page* page = document->page(); |
if (!page) |
return 0; |
- return InternalSettings::from(page); |
+ return InternalSettings::from(*page); |
} |
InternalRuntimeFlags* Internals::runtimeFlags() const |
@@ -1263,7 +1263,7 @@ unsigned Internals::wheelEventHandlerCount(Document* document, ExceptionState& e |
return 0; |
} |
- return WheelController::from(document)->wheelEventHandlerCount(); |
+ return WheelController::from(*document)->wheelEventHandlerCount(); |
} |
unsigned Internals::touchEventHandlerCount(Document* document, ExceptionState& exceptionState) |
@@ -2004,28 +2004,28 @@ void Internals::webkitWillEnterFullScreenForElement(Document* document, Element* |
{ |
if (!document) |
return; |
- FullscreenElementStack::from(document)->webkitWillEnterFullScreenForElement(element); |
+ FullscreenElementStack::from(*document).webkitWillEnterFullScreenForElement(element); |
} |
void Internals::webkitDidEnterFullScreenForElement(Document* document, Element* element) |
{ |
if (!document) |
return; |
- FullscreenElementStack::from(document)->webkitDidEnterFullScreenForElement(element); |
+ FullscreenElementStack::from(*document).webkitDidEnterFullScreenForElement(element); |
} |
void Internals::webkitWillExitFullScreenForElement(Document* document, Element* element) |
{ |
if (!document) |
return; |
- FullscreenElementStack::from(document)->webkitWillExitFullScreenForElement(element); |
+ FullscreenElementStack::from(*document).webkitWillExitFullScreenForElement(element); |
} |
void Internals::webkitDidExitFullScreenForElement(Document* document, Element* element) |
{ |
if (!document) |
return; |
- FullscreenElementStack::from(document)->webkitDidExitFullScreenForElement(element); |
+ FullscreenElementStack::from(*document).webkitDidExitFullScreenForElement(element); |
} |
void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) |