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

Unified Diff: Source/core/inspector/InspectorIndexedDBAgent.cpp

Issue 24119002: Fix r157217, committed patch set didn't contain the latest review modifications. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/core/inspector/InspectorIndexedDBAgent.cpp
diff --git a/Source/core/inspector/InspectorIndexedDBAgent.cpp b/Source/core/inspector/InspectorIndexedDBAgent.cpp
index bd5a454ccf7d8eaebdb92e6c0f54b0963fa869dd..f5b92b20d56e7d6bc4a2755fbdade1a9093e0e0c 100644
--- a/Source/core/inspector/InspectorIndexedDBAgent.cpp
+++ b/Source/core/inspector/InspectorIndexedDBAgent.cpp
@@ -618,7 +618,7 @@ void InspectorIndexedDBAgent::requestDatabaseNames(ErrorString* errorString, con
return;
// FIXME: This should probably use ScriptState/ScriptScope instead of V8 API
- v8::HandleScope handleScope(frame->script()->isolate());
+ v8::HandleScope handleScope(getIsolateFromFrame(frame));
v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext();
ASSERT(!context.IsEmpty());
v8::Context::Scope contextScope(context);
@@ -643,7 +643,7 @@ void InspectorIndexedDBAgent::requestDatabase(ErrorString* errorString, const St
return;
// FIXME: This should probably use ScriptState/ScriptScope instead of V8 API
- v8::HandleScope handleScope(frame->script()->isolate());
+ v8::HandleScope handleScope(getIsolateFromFrame(frame));
v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext();
ASSERT(!context.IsEmpty());
v8::Context::Scope contextScope(context);
@@ -671,7 +671,7 @@ void InspectorIndexedDBAgent::requestData(ErrorString* errorString, const String
}
// FIXME: This should probably use ScriptState/ScriptScope instead of V8 API
- v8::HandleScope handleScope(frame->script()->isolate());
+ v8::HandleScope handleScope(getIsolateFromFrame(frame));
v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext();
ASSERT(!context.IsEmpty());
v8::Context::Scope contextScope(context);
@@ -775,7 +775,7 @@ void InspectorIndexedDBAgent::clearObjectStore(ErrorString* errorString, const S
return;
// FIXME: This should probably use ScriptState/ScriptScope instead of V8 API
- v8::HandleScope handleScope(frame->script()->isolate());
+ v8::HandleScope handleScope(getIsolateFromFrame(frame));
v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext();
ASSERT(!context.IsEmpty());
v8::Context::Scope contextScope(context);

Powered by Google App Engine
This is Rietveld 408576698