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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptRunner.h

Issue 1929493002: Remove unnecessary uses of GarbageCollectedFinalized<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add two leftover classes needing same treatment 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/dom/ScriptRunner.h
diff --git a/third_party/WebKit/Source/core/dom/ScriptRunner.h b/third_party/WebKit/Source/core/dom/ScriptRunner.h
index fb0bfd8c979b6ba235786a7d586c2e6d87dc1e9b..4c55fcac0511235be8251d799e7225790fcdcdb2 100644
--- a/third_party/WebKit/Source/core/dom/ScriptRunner.h
+++ b/third_party/WebKit/Source/core/dom/ScriptRunner.h
@@ -39,14 +39,13 @@ class Document;
class ScriptLoader;
class WebTaskRunner;
-class CORE_EXPORT ScriptRunner final : public GarbageCollectedFinalized<ScriptRunner> {
+class CORE_EXPORT ScriptRunner final : public GarbageCollected<ScriptRunner> {
WTF_MAKE_NONCOPYABLE(ScriptRunner);
public:
static ScriptRunner* create(Document* document)
{
return new ScriptRunner(document);
}
- ~ScriptRunner();
enum ExecutionType { ASYNC_EXECUTION, IN_ORDER_EXECUTION };
void queueScriptForExecution(ScriptLoader*, ExecutionType);

Powered by Google App Engine
This is Rietveld 408576698