Index: test/cctest/test-profile-generator.cc |
diff --git a/test/cctest/test-profile-generator.cc b/test/cctest/test-profile-generator.cc |
index c137e05fea7b975fcb94adbb2e9531b3d1bc2a19..865a42ed1112be6857bcc5abe9e5c696209aa111 100644 |
--- a/test/cctest/test-profile-generator.cc |
+++ b/test/cctest/test-profile-generator.cc |
@@ -662,11 +662,11 @@ TEST(ProfileNodeScriptId) { |
current = PickChild(current, "b"); |
CHECK_NE(NULL, const_cast<v8::CpuProfileNode*>(current)); |
- CHECK_EQ(script_b->GetId(), current->GetScriptId()); |
+ CHECK_EQ(script_b->GetUnboundScript()->GetId(), current->GetScriptId()); |
current = PickChild(current, "a"); |
CHECK_NE(NULL, const_cast<v8::CpuProfileNode*>(current)); |
- CHECK_EQ(script_a->GetId(), current->GetScriptId()); |
+ CHECK_EQ(script_a->GetUnboundScript()->GetId(), current->GetScriptId()); |
} |