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

Unified Diff: Source/bindings/dart/DartDOMData.cpp

Issue 26490003: Reapply "Move isolate loading to a separate loader isolate." (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Initialize flag properly Created 7 years, 2 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/dart/DartDOMData.h ('k') | Source/bindings/dart/DartUtilities.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/dart/DartDOMData.cpp
diff --git a/Source/bindings/dart/DartDOMData.cpp b/Source/bindings/dart/DartDOMData.cpp
index 16b852a1ac4b3655d4c1f58935b23415941fc746..338988e3e131ca7fed62fff15181365a2c83e878 100644
--- a/Source/bindings/dart/DartDOMData.cpp
+++ b/Source/bindings/dart/DartDOMData.cpp
@@ -32,6 +32,7 @@
#include "bindings/dart/DartDOMData.h"
#include "bindings/dart/DartApplicationLoader.h"
+#include "bindings/dart/DartAsyncLoader.h"
#include "bindings/dart/ThreadSafeDartIsolateWrapper.h"
#include "core/dom/ScriptExecutionContext.h"
@@ -86,6 +87,18 @@ PassRefPtr<DartApplicationLoader> DartDOMData::applicationLoader()
return m_applicationLoader;
}
+void DartDOMData::setAsyncLoader(PassRefPtr<DartAsyncLoader> asyncLoader)
+{
+ ASSERT(!m_asyncLoader || !asyncLoader);
+ m_asyncLoader = asyncLoader;
+}
+
+PassRefPtr<DartAsyncLoader> DartDOMData::asyncLoader()
+{
+ ASSERT(m_asyncLoader);
+ return m_asyncLoader;
+}
+
void DartDOMData::setThreadSafeIsolateWrapper(PassRefPtr<ThreadSafeDartIsolateWrapper> threadSafeIsolateWrapper)
{
ASSERT(!m_threadSafeIsolateWrapper);
« no previous file with comments | « Source/bindings/dart/DartDOMData.h ('k') | Source/bindings/dart/DartUtilities.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698