Index: Source/web/tests/WebViewTest.cpp |
diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp |
index d65334e020cdb1fec98de81cfb0fa0cb0f08cfda..1dc4b69ddf2d18bdc567cc50627a8beb7476e9de 100644 |
--- a/Source/web/tests/WebViewTest.cpp |
+++ b/Source/web/tests/WebViewTest.cpp |
@@ -902,7 +902,6 @@ TEST_F(WebViewTest, EnterFullscreenResetScrollAndScaleState) |
RefPtrWillBeRawPtr<blink::Element> element = static_cast<PassRefPtrWillBeRawPtr<blink::Element> >(webViewImpl->mainFrame()->document().body()); |
webViewImpl->enterFullScreenForElement(element.get()); |
- webViewImpl->willEnterFullScreen(); |
webViewImpl->didEnterFullScreen(); |
// Page scale factor must be 1.0 during fullscreen for elements to be sized |
@@ -914,7 +913,6 @@ TEST_F(WebViewTest, EnterFullscreenResetScrollAndScaleState) |
webViewImpl->enterFullScreenForElement(otherElement.get()); |
// Confirm that exiting fullscreen restores the parameters. |
- webViewImpl->willExitFullScreen(); |
webViewImpl->didExitFullScreen(); |
EXPECT_EQ(2.0f, webViewImpl->pageScaleFactor()); |
EXPECT_EQ(116, webViewImpl->mainFrame()->scrollOffset().width); |