| 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);
|
|
|
|
|