Index: Source/core/inspector/InspectorResourceAgent.cpp |
diff --git a/Source/core/inspector/InspectorResourceAgent.cpp b/Source/core/inspector/InspectorResourceAgent.cpp |
index 650de1e84edcf863942d8c945a981f9192691ec0..d443ca94520b243f5285bb77d57fd424237c3688 100644 |
--- a/Source/core/inspector/InspectorResourceAgent.cpp |
+++ b/Source/core/inspector/InspectorResourceAgent.cpp |
@@ -109,7 +109,7 @@ public: |
, m_decoder(decoder) |
, m_callback(callback) |
{ |
- m_loader = adoptPtr(new FileReaderLoader(FileReaderLoader::ReadByClient, this)); |
+ m_loader = FileReaderLoader::create(FileReaderLoader::ReadByClient, this); |
} |
virtual ~InspectorFileReaderLoaderClient() { } |