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

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

Issue 23477075: Rename isolateFor*() utility functions to toIsolate() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master 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
« no previous file with comments | « Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp ('k') | Source/core/inspector/InspectorOverlay.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp ('k') | Source/core/inspector/InspectorOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698