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

Unified Diff: Source/bindings/v8/DOMRequestState.h

Issue 236783002: Pass NewScriptState to idbAnyToScriptValue() and idbKeyToScriptValue() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/tests/results/V8TestObject.cpp ('k') | Source/bindings/v8/IDBBindingUtilities.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/DOMRequestState.h
diff --git a/Source/bindings/v8/DOMRequestState.h b/Source/bindings/v8/DOMRequestState.h
index 43e6bb029fc211c15793e8cd5771d8ac664b0dcd..974a461344659ec2b4d46ef1d0a45ca0fe16ee2e 100644
--- a/Source/bindings/v8/DOMRequestState.h
+++ b/Source/bindings/v8/DOMRequestState.h
@@ -58,6 +58,7 @@ public:
v8::Local<v8::Context> context() { return m_scriptState->context(); }
v8::Isolate* isolate() const { return m_scriptState->isolate(); }
bool isValid() const { return m_scriptState; }
+ NewScriptState* scriptState() const { return m_scriptState.get(); }
private:
RefPtr<NewScriptState> m_scriptState;
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.cpp ('k') | Source/bindings/v8/IDBBindingUtilities.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698