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

Unified Diff: Source/core/workers/WorkerGlobalScope.h

Issue 1291313002: [Oilpan] Move WorkerScriptController to Oilpan heap on Oilpan build (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Work for comments Created 5 years, 4 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
« no previous file with comments | « Source/bindings/core/v8/WorkerScriptController.cpp ('k') | Source/core/workers/WorkerGlobalScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerGlobalScope.h
diff --git a/Source/core/workers/WorkerGlobalScope.h b/Source/core/workers/WorkerGlobalScope.h
index 916254ed9e70d9ab4f3df5e8a890705253fdf87d..4748d930c8b86c15177b39ff6bc00f60cc6bcfa4 100644
--- a/Source/core/workers/WorkerGlobalScope.h
+++ b/Source/core/workers/WorkerGlobalScope.h
@@ -167,7 +167,7 @@ private:
EventTarget* errorEventTarget() final;
void didUpdateSecurityOrigin() final { }
- void clearScript() { m_script.clear(); }
+ void clearScript();
void clearInspector();
static void removeURLFromMemoryCacheInternal(const KURL&);
@@ -182,7 +182,7 @@ private:
mutable UseCounter::CountBits m_deprecationWarningBits;
- OwnPtr<WorkerScriptController> m_script;
+ OwnPtrWillBeMember<WorkerScriptController> m_script;
WorkerThread* m_thread;
RefPtrWillBeMember<WorkerInspectorController> m_workerInspectorController;
« no previous file with comments | « Source/bindings/core/v8/WorkerScriptController.cpp ('k') | Source/core/workers/WorkerGlobalScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698