Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 42a103a82071f10f4f4d430ee3d3fc8d9ec21aa3..7bdf08730211bee7cdb700144a6384f2a7720376 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -155,7 +155,7 @@ static v8::Local<v8::Function> CompileFunction(v8::Isolate* isolate, |
static bool HasDebugInfo(v8::Handle<v8::Function> fun) { |
Handle<v8::internal::JSFunction> f = v8::Utils::OpenHandle(*fun); |
Handle<v8::internal::SharedFunctionInfo> shared(f->shared()); |
- return Debug::HasDebugInfo(shared); |
+ return shared->HasDebugInfo(); |
} |