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

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

Issue 428783004: Pass line offsets to Dart_LoadLibrary and Dart_LoadSource. (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/dartium
Patch Set: Created 6 years, 5 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 | « no previous file | Source/bindings/dart/DartAsyncLoader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/dart/DartApplicationLoader.cpp
diff --git a/Source/bindings/dart/DartApplicationLoader.cpp b/Source/bindings/dart/DartApplicationLoader.cpp
index bd8dbee5fe58069263f8c6decb5610c0ef4cbefc..73dc1e1db59e3751b004d06d83ddc63d61753589 100644
--- a/Source/bindings/dart/DartApplicationLoader.cpp
+++ b/Source/bindings/dart/DartApplicationLoader.cpp
@@ -172,7 +172,7 @@ void DartApplicationLoader::callEntryPoint()
// FIXME: Use the page library instead. To do this, we need to import each script tag's library into the page
// with a unique prefix to ensure a secondary script doesn't define a main.
String trampolineUrl = m_libraryUrl + "$trampoline";
- Dart_Handle trampoline = Dart_LoadLibrary(DartUtilities::stringToDartString(trampolineUrl), Dart_NewStringFromCString(""));
+ Dart_Handle trampoline = Dart_LoadLibrary(DartUtilities::stringToDartString(trampolineUrl), Dart_NewStringFromCString(""), 0, 0);
Dart_LibraryImportLibrary(trampoline, mainLibrary, Dart_Null());
Dart_Handle result = Dart_FinalizeLoading(false);
« no previous file with comments | « no previous file | Source/bindings/dart/DartAsyncLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698