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

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

Issue 33523002: Have Frame::script() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master 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
« no previous file with comments | « Source/core/inspector/InspectorClient.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 7689a7570b5d8ada232a1b014140c6b8f2233725..3975d15f783ec55377134cdaa5f1a0716d249b69 100644
--- a/Source/core/inspector/InspectorIndexedDBAgent.cpp
+++ b/Source/core/inspector/InspectorIndexedDBAgent.cpp
@@ -619,7 +619,7 @@ void InspectorIndexedDBAgent::requestDatabaseNames(ErrorString* errorString, con
// FIXME: This should probably use ScriptState/ScriptScope instead of V8 API
v8::HandleScope handleScope(toIsolate(frame));
- v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext();
+ v8::Handle<v8::Context> context = document->frame()->script().mainWorldContext();
ASSERT(!context.IsEmpty());
v8::Context::Scope contextScope(context);
@@ -644,7 +644,7 @@ void InspectorIndexedDBAgent::requestDatabase(ErrorString* errorString, const St
// FIXME: This should probably use ScriptState/ScriptScope instead of V8 API
v8::HandleScope handleScope(toIsolate(frame));
- v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext();
+ v8::Handle<v8::Context> context = document->frame()->script().mainWorldContext();
ASSERT(!context.IsEmpty());
v8::Context::Scope contextScope(context);
@@ -672,7 +672,7 @@ void InspectorIndexedDBAgent::requestData(ErrorString* errorString, const String
// FIXME: This should probably use ScriptState/ScriptScope instead of V8 API
v8::HandleScope handleScope(toIsolate(frame));
- v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext();
+ v8::Handle<v8::Context> context = document->frame()->script().mainWorldContext();
ASSERT(!context.IsEmpty());
v8::Context::Scope contextScope(context);
@@ -776,7 +776,7 @@ void InspectorIndexedDBAgent::clearObjectStore(ErrorString* errorString, const S
// FIXME: This should probably use ScriptState/ScriptScope instead of V8 API
v8::HandleScope handleScope(toIsolate(frame));
- v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext();
+ v8::Handle<v8::Context> context = document->frame()->script().mainWorldContext();
ASSERT(!context.IsEmpty());
v8::Context::Scope contextScope(context);
« no previous file with comments | « Source/core/inspector/InspectorClient.cpp ('k') | Source/core/inspector/InspectorOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698