Index: Source/web/tests/WebPageNewSerializerTest.cpp |
diff --git a/Source/web/tests/WebPageNewSerializerTest.cpp b/Source/web/tests/WebPageNewSerializerTest.cpp |
index b49d74f40d0d2a3fa8263460c2955e169e3dbfc0..814b73b5871feef1aaafde631cfc96904536f46a 100644 |
--- a/Source/web/tests/WebPageNewSerializerTest.cpp |
+++ b/Source/web/tests/WebPageNewSerializerTest.cpp |
@@ -202,7 +202,7 @@ TEST_F(WebPageNewSerializeTest, PageWithFrames) |
// OBJECT/EMBED have some delay to start to load their content. The first |
// serveAsynchronousMockedRequests call in loadURLInTopFrame() finishes |
// before the start. |
- RefPtr<Document> document = static_cast<PassRefPtr<Document> >(webView()->mainFrame()->document()); |
+ RefPtrWillBeRawPtr<Document> document = static_cast<PassRefPtrWillBeRawPtr<Document> >(webView()->mainFrame()->document()); |
document->updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasksSynchronously); |
Platform::current()->unitTestSupport()->serveAsynchronousMockedRequests(); |