| Index: third_party/WebKit/Source/platform/v8_inspector/InspectedContext.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/InspectedContext.cpp b/third_party/WebKit/Source/platform/v8_inspector/InspectedContext.cpp
|
| index 5b52e015a5436383989cf30a72017f8e324ca449..bf418196b7a958c93b0ee8e3d05527a8ea80eb93 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/InspectedContext.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/InspectedContext.cpp
|
| @@ -72,11 +72,6 @@ v8::Isolate* InspectedContext::isolate() const
|
| void InspectedContext::createInjectedScript()
|
| {
|
| DCHECK(!m_injectedScript);
|
| - v8::HandleScope handles(isolate());
|
| - v8::Local<v8::Context> localContext = context();
|
| - v8::Local<v8::Context> callingContext = isolate()->GetCallingContext();
|
| - if (!callingContext.IsEmpty() && !m_debugger->client()->callingContextCanAccessContext(callingContext, localContext))
|
| - return;
|
| m_injectedScript = InjectedScript::create(this);
|
| }
|
|
|
|
|