Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(961)

Unified Diff: Source/core/loader/EmptyClients.h

Issue 1306793003: Oilpan: Move FrameLoaderClient class hierarchy into Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/FrameClient.h ('k') | Source/core/loader/FrameFetchContextTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/EmptyClients.h
diff --git a/Source/core/loader/EmptyClients.h b/Source/core/loader/EmptyClients.h
index 1449103d63447ab1648056585abb3420d82cb358..adcf55e33ac3923b152a03f21ac56b972b3b96e0 100644
--- a/Source/core/loader/EmptyClients.h
+++ b/Source/core/loader/EmptyClients.h
@@ -164,9 +164,10 @@ public:
};
class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient {
- WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED(EmptyFrameLoaderClient);
+ WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient);
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(EmptyFrameLoaderClient);
public:
- EmptyFrameLoaderClient() {}
+ static PassOwnPtrWillBeRawPtr<EmptyFrameLoaderClient> create() { return adoptPtrWillBeNoop(new EmptyFrameLoaderClient); }
~EmptyFrameLoaderClient() override {}
bool hasWebView() const override { return true; } // mainly for assertions
@@ -256,6 +257,9 @@ public:
bool isControlledByServiceWorker(DocumentLoader&) override { return false; }
int64_t serviceWorkerID(DocumentLoader&) override { return -1; }
PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebApplicationCacheHostClient*) override;
+
+protected:
+ EmptyFrameLoaderClient() {}
};
class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient {
« no previous file with comments | « Source/core/frame/FrameClient.h ('k') | Source/core/loader/FrameFetchContextTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698