Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / web / tests / WebPageSerializerTest.cpp
index 036da23..e5014cc 100644 (file)
  */
 
 #include "config.h"
-#include "WebPageSerializer.h"
+#include "public/web/WebPageSerializer.h"
 
-#include "FrameTestHelpers.h"
-#include "URLTestHelpers.h"
-#include "WebFrame.h"
-#include "WebView.h"
 #include "core/dom/Document.h"
 #include "public/platform/Platform.h"
 #include "public/platform/WebString.h"
 #include "public/platform/WebURLResponse.h"
 #include "public/platform/WebUnitTestSupport.h"
 #include "public/web/WebDocument.h"
+#include "public/web/WebFrame.h"
+#include "public/web/WebView.h"
+#include "web/tests/FrameTestHelpers.h"
+#include "web/tests/URLTestHelpers.h"
 
 #include <gtest/gtest.h>
 
@@ -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();