| Index: Source/web/tests/WebViewTest.cpp
|
| diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp
|
| index 799d57633b70b8c5128e467137dd87f45cbd4520..4d7eff0df084b38bfd238c14537c04ae3b9b9ded 100644
|
| --- a/Source/web/tests/WebViewTest.cpp
|
| +++ b/Source/web/tests/WebViewTest.cpp
|
| @@ -967,7 +967,7 @@ TEST_F(WebViewTest, EnterFullscreenResetScrollAndScaleState)
|
| EXPECT_EQ(116, webViewImpl->mainFrame()->scrollOffset().width);
|
| EXPECT_EQ(84, webViewImpl->mainFrame()->scrollOffset().height);
|
|
|
| - RefPtrWillBeRawPtr<Element> element = static_cast<PassRefPtrWillBeRawPtr<Element> >(webViewImpl->mainFrame()->document().body());
|
| + RefPtrWillBeRawPtr<Element> element = static_cast<PassRefPtrWillBeRawPtr<Element>>(webViewImpl->mainFrame()->document().body());
|
| webViewImpl->enterFullScreenForElement(element.get());
|
| webViewImpl->didEnterFullScreen();
|
|
|
| @@ -976,7 +976,7 @@ TEST_F(WebViewTest, EnterFullscreenResetScrollAndScaleState)
|
| EXPECT_EQ(1.0f, webViewImpl->pageScaleFactor());
|
|
|
| // Make sure fullscreen nesting doesn't disrupt scroll/scale saving.
|
| - RefPtrWillBeRawPtr<Element> otherElement = static_cast<PassRefPtrWillBeRawPtr<Element> >(webViewImpl->mainFrame()->document().head());
|
| + RefPtrWillBeRawPtr<Element> otherElement = static_cast<PassRefPtrWillBeRawPtr<Element>>(webViewImpl->mainFrame()->document().head());
|
| webViewImpl->enterFullScreenForElement(otherElement.get());
|
|
|
| // Confirm that exiting fullscreen restores the parameters.
|
| @@ -1124,7 +1124,7 @@ private:
|
| static bool tapElementById(WebView* webView, WebInputEvent::Type type, const WebString& id)
|
| {
|
| ASSERT(webView);
|
| - RefPtrWillBeRawPtr<Element> element = static_cast<PassRefPtrWillBeRawPtr<Element> >(webView->mainFrame()->document().getElementById(id));
|
| + RefPtrWillBeRawPtr<Element> element = static_cast<PassRefPtrWillBeRawPtr<Element>>(webView->mainFrame()->document().getElementById(id));
|
| if (!element)
|
| return false;
|
|
|
|
|