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

Unified Diff: Source/bindings/dart/DartUtilities.h

Issue 33973002: Fix for https://code.google.com/p/dart/issues/detail?id=5851 Proper line #s and columns for Dart er… (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: ready to review 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
Index: Source/bindings/dart/DartUtilities.h
diff --git a/Source/bindings/dart/DartUtilities.h b/Source/bindings/dart/DartUtilities.h
index 4ab3087b1d193cc0a32a9fff13e448fbc54be300..4f8a6b88f9747f762776b3602a86e8f8c43ebaf4 100644
--- a/Source/bindings/dart/DartUtilities.h
+++ b/Source/bindings/dart/DartUtilities.h
@@ -158,6 +158,7 @@ public:
static DOMWindow* domWindowForCurrentIsolate();
static ScriptExecutionContext* scriptExecutionContext();
+ static DartScriptState* currentScriptState();
static bool processingUserGesture();
@@ -447,6 +448,8 @@ public:
static Dart_Handle numberToDart(double value);
+ static intptr_t libraryHandleToLibraryId(Dart_Handle library);
+
static ScriptValue dartToScriptValue(Dart_Handle, Dart_Handle& exception);
static ScriptValue dartToScriptValue(Dart_NativeArguments args, int index, Dart_Handle& exception)
{

Powered by Google App Engine
This is Rietveld 408576698