| Index: src/inspector/v8-debugger-script.cc
|
| diff --git a/src/inspector/v8-debugger-script.cc b/src/inspector/v8-debugger-script.cc
|
| index d151ab821f58c6d872baa37b994bbf7ccbf1f918..e0aaceb8880f7084e3b72e4df0e79112b79f0da2 100644
|
| --- a/src/inspector/v8-debugger-script.cc
|
| +++ b/src/inspector/v8-debugger-script.cc
|
| @@ -138,11 +138,7 @@ class ActualScript : public V8DebuggerScript {
|
| m_endColumn = m_startColumn;
|
| }
|
|
|
| - v8::Local<v8::Value> contextData;
|
| - if (script->ContextData().ToLocal(&contextData) && contextData->IsInt32()) {
|
| - m_executionContextId =
|
| - static_cast<int>(contextData.As<v8::Int32>()->Value());
|
| - }
|
| + USE(script->ContextId().To(&m_executionContextId));
|
|
|
| if (script->Source().ToLocal(&tmp)) {
|
| m_source = toProtocolString(tmp);
|
|
|