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

Unified Diff: Source/core/workers/WorkerScriptLoader.cpp

Issue 177073004: Oilpan: move core/workers to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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: Source/core/workers/WorkerScriptLoader.cpp
diff --git a/Source/core/workers/WorkerScriptLoader.cpp b/Source/core/workers/WorkerScriptLoader.cpp
index ba33a8bca24cc0758143aa9a305e5f4c5ad7cdb6..2dae9b8b171265a0c7f4342ad841d840dadfa3af 100644
--- a/Source/core/workers/WorkerScriptLoader.cpp
+++ b/Source/core/workers/WorkerScriptLoader.cpp
@@ -40,6 +40,8 @@
namespace WebCore {
+DEFINE_GC_INFO(WorkerScriptLoader);
+
WorkerScriptLoader::WorkerScriptLoader()
: m_client(0)
, m_failed(false)
@@ -87,7 +89,7 @@ void WorkerScriptLoader::loadAsynchronously(ExecutionContext* executionContext,
options.crossOriginRequestPolicy = crossOriginRequestPolicy;
// During create, callbacks may happen which remove the last reference to this object.
- RefPtr<WorkerScriptLoader> protect(this);
+ RefPtrWillBeRawPtr<WorkerScriptLoader> protect(this);
m_threadableLoader = ThreadableLoader::create(executionContext, this, *request, options);
}

Powered by Google App Engine
This is Rietveld 408576698