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

Unified Diff: sky/engine/tonic/dart_state.cc

Issue 1202283004: Factor DartLibraryProvider out of DartLoader (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « sky/engine/tonic/dart_state.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/tonic/dart_state.cc
diff --git a/sky/engine/tonic/dart_state.cc b/sky/engine/tonic/dart_state.cc
index e3796850ce0a65141474f539222d06414a5b4958..36b1dfbdaa463d6375a51bc0dca4d7ef32731883 100644
--- a/sky/engine/tonic/dart_state.cc
+++ b/sky/engine/tonic/dart_state.cc
@@ -7,6 +7,7 @@
#include "sky/engine/tonic/dart_class_library.h"
#include "sky/engine/tonic/dart_converter.h"
#include "sky/engine/tonic/dart_exception_factory.h"
+#include "sky/engine/tonic/dart_library_loader.h"
#include "sky/engine/tonic/dart_string_cache.h"
#include "sky/engine/tonic/dart_timer_heap.h"
#include "sky/engine/wtf/PassOwnPtr.h"
@@ -22,8 +23,9 @@ DartState::Scope::~Scope() {
DartState::DartState()
: isolate_(NULL),
class_library_(adoptPtr(new DartClassLibrary)),
- string_cache_(adoptPtr(new DartStringCache)),
exception_factory_(adoptPtr(new DartExceptionFactory(this))),
+ library_loader_(adoptPtr(new DartLibraryLoader(this))),
+ string_cache_(adoptPtr(new DartStringCache)),
timer_heap_(adoptPtr(new DartTimerHeap())),
weak_factory_(this) {
}
« no previous file with comments | « sky/engine/tonic/dart_state.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698