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

Unified Diff: third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/modules/worklet/WorkletGlobalScope.h
diff --git a/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h b/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h
index e8eaa2f68d4233d1784f2a3b04d9300773ea9e93..8bf7d9888f3714a26c8401d7011915fded263d01 100644
--- a/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h
+++ b/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h
@@ -22,9 +22,9 @@ class LocalFrame;
class WorkerOrWorkletScriptController;
class WorkletConsole;
-class WorkletGlobalScope : public RefCountedWillBeGarbageCollectedFinalized<WorkletGlobalScope>, public SecurityContext, public MainThreadWorkletGlobalScope, public ScriptWrappable {
+class WorkletGlobalScope : public GarbageCollectedFinalized<WorkletGlobalScope>, public SecurityContext, public MainThreadWorkletGlobalScope, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkletGlobalScope);
+ USING_GARBAGE_COLLECTED_MIXIN(WorkletGlobalScope);
public:
#if !ENABLE(OILPAN)
using RefCounted<WorkletGlobalScope>::ref;
@@ -64,7 +64,7 @@ public:
}
void reportBlockedScriptExecutionToInspector(const String& directiveText) final;
- void addConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) final;
+ void addConsoleMessage(RawPtr<ConsoleMessage>) final;
void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack>) final;
DECLARE_VIRTUAL_TRACE();
@@ -86,11 +86,11 @@ private:
EventTarget* errorEventTarget() final { return nullptr; }
void didUpdateSecurityOrigin() final { }
- mutable PersistentWillBeMember<WorkletConsole> m_console;
+ mutable Member<WorkletConsole> m_console;
KURL m_url;
String m_userAgent;
- OwnPtrWillBeMember<WorkerOrWorkletScriptController> m_scriptController;
+ Member<WorkerOrWorkletScriptController> m_scriptController;
};
DEFINE_TYPE_CASTS(WorkletGlobalScope, ExecutionContext, context, context->isWorkletGlobalScope(), context.isWorkletGlobalScope());

Powered by Google App Engine
This is Rietveld 408576698