| Index: Source/core/html/HTMLImportLoader.h
|
| diff --git a/Source/core/html/HTMLImportLoader.h b/Source/core/html/HTMLImportLoader.h
|
| index 7f659a6d9121e6bacda14170449066d18053f418..a09f658f0dcd23cfafa3ba0b4a3c5b2c51f57924 100644
|
| --- a/Source/core/html/HTMLImportLoader.h
|
| +++ b/Source/core/html/HTMLImportLoader.h
|
| @@ -57,7 +57,10 @@ public:
|
| StateReady
|
| };
|
|
|
| - static PassRefPtr<HTMLImportLoader> create(HTMLImport*, ResourceFetcher*);
|
| + static PassRefPtr<HTMLImportLoader> create(HTMLImport* import)
|
| + {
|
| + return adoptRef(new HTMLImportLoader(import));
|
| + }
|
|
|
| virtual ~HTMLImportLoader();
|
|
|
| @@ -74,7 +77,7 @@ public:
|
| bool isOwnedBy(const HTMLImport* import) const { return m_import == import; }
|
|
|
| private:
|
| - HTMLImportLoader(HTMLImport*, ResourceFetcher*);
|
| + HTMLImportLoader(HTMLImport*);
|
|
|
| // RawResourceClient
|
| virtual void responseReceived(Resource*, const ResourceResponse&) OVERRIDE;
|
| @@ -89,7 +92,6 @@ private:
|
| void didFinish();
|
|
|
| HTMLImport* m_import;
|
| - ResourceFetcher* m_fetcher;
|
| Vector<HTMLImportLoaderClient*> m_clients;
|
| State m_state;
|
| RefPtr<Document> m_importedDocument;
|
|
|