Index: Source/web/tests/WebPageSerializerTest.cpp |
diff --git a/Source/web/tests/WebPageSerializerTest.cpp b/Source/web/tests/WebPageSerializerTest.cpp |
index 34bbff8f918acbe4ee38ce6b102fea51afd45d1e..e5014ccadf689e9d92f5f0aa6d79d239151df57a 100644 |
--- a/Source/web/tests/WebPageSerializerTest.cpp |
+++ b/Source/web/tests/WebPageSerializerTest.cpp |
@@ -163,7 +163,7 @@ TEST_F(WebPageSerializerTest, MultipleFrames) |
// 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(); |