Index: Source/core/inspector/InspectorIndexedDBAgent.cpp |
diff --git a/Source/core/inspector/InspectorIndexedDBAgent.cpp b/Source/core/inspector/InspectorIndexedDBAgent.cpp |
index d33acf3dcb5bb38faf6957998e99ec8505be1b37..b6c1bde3c16bd759570068ebaf2ccbb85f88fe1b 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(isolateForFrame(frame)); |
+ v8::HandleScope handleScope(toIsolate(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(isolateForFrame(frame)); |
+ v8::HandleScope handleScope(toIsolate(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(isolateForFrame(frame)); |
+ v8::HandleScope handleScope(toIsolate(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(isolateForFrame(frame)); |
+ v8::HandleScope handleScope(toIsolate(frame)); |
v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext(); |
ASSERT(!context.IsEmpty()); |
v8::Context::Scope contextScope(context); |