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

Unified Diff: Source/bindings/dart/DartDOMData.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/DartDOMData.h
diff --git a/Source/bindings/dart/DartDOMData.h b/Source/bindings/dart/DartDOMData.h
index f2d16a16d9ef9b33fcfc0296261a990207e60824..99e3f2b00b6c5d5b6c0ba4c471b3da446c48e59a 100644
--- a/Source/bindings/dart/DartDOMData.h
+++ b/Source/bindings/dart/DartDOMData.h
@@ -36,6 +36,7 @@
#include "bindings/dart/DartCustomElementBinding.h"
#include "bindings/dart/DartLibraryIds.h"
+#include "bindings/dart/DartScriptState.h"
#include "bindings/dart/DartStringCache.h"
#include "wtf/HashMap.h"
@@ -210,6 +211,16 @@ public:
return &m_jsInteropData;
}
+ DartScriptState* rootScriptState()
+ {
+ return m_rootScriptState;
+ }
+
+ DartScriptState* setRootScriptState(DartScriptState* scriptState)
+ {
+ m_rootScriptState = scriptState;
+ }
+
private:
ScriptExecutionContext* m_scriptExecutionContext;
bool m_isDOMEnabled;
@@ -233,6 +244,7 @@ private:
DartCustomElementBindingMap m_customElementBindings;
ClassTable m_classHandleCache;
LibraryTable m_libraryHandleCache;
+ DartScriptState* m_rootScriptState;
};
}

Powered by Google App Engine
This is Rietveld 408576698