| 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 {
|
|
|