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

Unified Diff: third_party/WebKit/Source/core/testing/NullExecutionContext.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 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
Index: third_party/WebKit/Source/core/testing/NullExecutionContext.h
diff --git a/third_party/WebKit/Source/core/testing/NullExecutionContext.h b/third_party/WebKit/Source/core/testing/NullExecutionContext.h
index 84e0ccead013cf85442cbf66186d508b93dff689..0c27c7c45bb8bcd0f12e3aad472697742bc6edf0 100644
--- a/third_party/WebKit/Source/core/testing/NullExecutionContext.h
+++ b/third_party/WebKit/Source/core/testing/NullExecutionContext.h
@@ -12,7 +12,6 @@
#include "core/inspector/ConsoleMessage.h"
#include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
-#include "wtf/RefCounted.h"
namespace blink {
@@ -50,14 +49,6 @@ public:
ExecutionContext::trace(visitor);
}
-#if !ENABLE(OILPAN)
- using RefCounted<NullExecutionContext>::ref;
- using RefCounted<NullExecutionContext>::deref;
-
- void refExecutionContext() override { ref(); }
- void derefExecutionContext() override { deref(); }
-#endif
-
protected:
const KURL& virtualURL() const override { return m_dummyURL; }
KURL virtualCompleteURL(const String&) const override { return m_dummyURL; }
« no previous file with comments | « third_party/WebKit/Source/core/testing/LayerRectList.h ('k') | third_party/WebKit/Source/core/testing/PrivateScriptTest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698