Chromium Code Reviews| Index: src/api.cc |
| diff --git a/src/api.cc b/src/api.cc |
| index 2c7db3be1656f10d475dd8e1de71a89ed374cdd6..1698ab6cafa7f5cb2c1e6b100b084477a70ed398 100644 |
| --- a/src/api.cc |
| +++ b/src/api.cc |
| @@ -6421,6 +6421,11 @@ void Isolate::GetHeapStatistics(HeapStatistics* heap_statistics) { |
| } |
| +void Isolate::SetEventLogger(LogEventCallback that) { |
| + i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
| + isolate->set_event_logger(that); |
| +} |
| + |
| String::Utf8Value::Utf8Value(v8::Handle<v8::Value> obj) |
| : str_(NULL), length_(0) { |
| i::Isolate* isolate = i::Isolate::Current(); |