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