Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 5322314417b39794a764562917f0bab8b4e4fb81..b86463409f2b400d52416e988513e77cf398c298 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -8734,7 +8734,7 @@ TEST(PreCompileInvalidPreparseDataError) { |
v8::ScriptData::PreCompile(script, i::StrLength(script)); |
CHECK(!sd->HasError()); |
// ScriptDataImpl private implementation details |
- const int kHeaderSize = i::ScriptDataImpl::kHeaderSize; |
+ const int kHeaderSize = i::PreparseDataConstants::kHeaderSize; |
const int kFunctionEntrySize = i::FunctionEntry::kSize; |
const int kFunctionEntryStartOffset = 0; |
const int kFunctionEntryEndOffset = 1; |