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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (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/bindings/core/v8/WorkerOrWorkletScriptController.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h
index b98c78b797f0e5621e67eabc800ed3c55c1db48a..76b01df28732833532686a0c1e873cf1925e7d80 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h
+++ b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h
@@ -51,11 +51,10 @@ class ExceptionState;
class ScriptSourceCode;
class WorkerOrWorkletGlobalScope;
-class CORE_EXPORT WorkerOrWorkletScriptController : public NoBaseWillBeGarbageCollectedFinalized<WorkerOrWorkletScriptController> {
- USING_FAST_MALLOC_WILL_BE_REMOVED(WorkerOrWorkletScriptController);
+class CORE_EXPORT WorkerOrWorkletScriptController : public GarbageCollectedFinalized<WorkerOrWorkletScriptController> {
WTF_MAKE_NONCOPYABLE(WorkerOrWorkletScriptController);
public:
- static PassOwnPtrWillBeRawPtr<WorkerOrWorkletScriptController> create(WorkerOrWorkletGlobalScope*, v8::Isolate*);
+ static RawPtr<WorkerOrWorkletScriptController> create(WorkerOrWorkletGlobalScope*, v8::Isolate*);
virtual ~WorkerOrWorkletScriptController();
void dispose();
@@ -63,7 +62,7 @@ public:
bool isExecutionTerminating() const;
// Returns true if the evaluation completed with no uncaught exception.
- bool evaluate(const ScriptSourceCode&, RefPtrWillBeRawPtr<ErrorEvent>* = nullptr, CachedMetadataHandler* = nullptr, V8CacheOptions = V8CacheOptionsDefault);
+ bool evaluate(const ScriptSourceCode&, RawPtr<ErrorEvent>* = nullptr, CachedMetadataHandler* = nullptr, V8CacheOptions = V8CacheOptionsDefault);
// Prevents future JavaScript execution. See
// willScheduleExecutionTermination, isExecutionForbidden.
@@ -79,7 +78,7 @@ public:
void willScheduleExecutionTermination();
// Used by WorkerGlobalScope:
- void rethrowExceptionFromImportedScript(PassRefPtrWillBeRawPtr<ErrorEvent>, ExceptionState&);
+ void rethrowExceptionFromImportedScript(RawPtr<ErrorEvent>, ExceptionState&);
void disableEval(const String&);
// Used by Inspector agents:
@@ -102,7 +101,7 @@ private:
ScriptValue evaluate(const CompressibleString& script, const String& fileName, const TextPosition& scriptStartPosition, CachedMetadataHandler*, V8CacheOptions);
void disposeContextIfNeeded();
- RawPtrWillBeMember<WorkerOrWorkletGlobalScope> m_globalScope;
+ Member<WorkerOrWorkletGlobalScope> m_globalScope;
// The v8 isolate associated to the (worker or worklet) global scope. For
// workers this should be the worker thread's isolate, while for worklets

Powered by Google App Engine
This is Rietveld 408576698