Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index b5641638d63a5e827a2b4e6ebab5019eef990c18..ce2c7072b748970ddac4a585f10f279e815d8a78 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -1638,7 +1638,7 @@ TEST(ScriptBreakPointByIdThroughJavaScript) { |
env->Global()->Get(v8::String::NewFromUtf8(env->GetIsolate(), "g"))); |
// Get the script id knowing that internally it is a 32 integer. |
- int script_id = script->GetId(); |
+ int script_id = script->GetUnboundScript()->GetId(); |
// Call f and g without break points. |
break_point_hit_count = 0; |