Index: Source/core/loader/DocumentLoader.cpp |
diff --git a/Source/core/loader/DocumentLoader.cpp b/Source/core/loader/DocumentLoader.cpp |
index 01bcc6bf547fccfb95594deee3083860100b0c4a..efda9fdbfd8c93b84b631c500c4bc38699e290e3 100644 |
--- a/Source/core/loader/DocumentLoader.cpp |
+++ b/Source/core/loader/DocumentLoader.cpp |
@@ -44,6 +44,7 @@ |
#include "core/html/HTMLFrameOwnerElement.h" |
#include "core/html/parser/HTMLDocumentParser.h" |
#include "core/html/parser/TextResourceDecoder.h" |
+#include "core/html/parser/ThreadedDataReceiver.h" |
#include "core/inspector/InspectorInstrumentation.h" |
#include "core/loader/FrameLoader.h" |
#include "core/loader/FrameLoaderClient.h" |
@@ -64,7 +65,6 @@ |
#include "platform/weborigin/SecurityPolicy.h" |
#include "public/platform/Platform.h" |
#include "public/platform/WebMimeRegistry.h" |
-#include "public/platform/WebThreadedDataReceiver.h" |
#include "wtf/Assertions.h" |
#include "wtf/text/WTFString.h" |
@@ -753,7 +753,7 @@ void DocumentLoader::cancelMainResourceLoad(const ResourceError& resourceError) |
mainReceivedError(error); |
} |
-void DocumentLoader::attachThreadedDataReceiver(PassOwnPtr<blink::WebThreadedDataReceiver> threadedDataReceiver) |
+void DocumentLoader::attachThreadedDataReceiver(PassRefPtrWillBeRawPtr<ThreadedDataReceiver> threadedDataReceiver) |
{ |
if (mainResourceLoader()) |
mainResourceLoader()->attachThreadedDataReceiver(threadedDataReceiver); |