Chromium Code Reviews| Index: src/api.cc |
| diff --git a/src/api.cc b/src/api.cc |
| index 7d4ea166396175cf496e694978153abe8397e5e6..4b305b002d2ab472168431e36da16b6901746bf1 100644 |
| --- a/src/api.cc |
| +++ b/src/api.cc |
| @@ -2115,6 +2115,9 @@ Local<StackTrace> StackTrace::CurrentStackTrace( |
| StackTraceOptions options) { |
| i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |
| ENTER_V8(i_isolate); |
| + // TODO(dcarney): remove when ScriptDebugServer is fixed. |
| + options = static_cast<StackTraceOptions>( |
|
yurys
2014/05/19 12:51:42
You could do this in one step, by updating https:/
|
| + static_cast<int>(options) | kExposeFramesAcrossSecurityOrigins); |
| i::Handle<i::JSArray> stackTrace = |
| i_isolate->CaptureCurrentStackTrace(frame_limit, options); |
| return Utils::StackTraceToLocal(stackTrace); |