Commit f9fd33c1 authored by yangguo's avatar yangguo Committed by Commit bot

Fix assertion when creating custom startup snapshots.

R=vogelheim@chromium.org

Review URL: https://codereview.chromium.org/960513002

Cr-Commit-Position: refs/heads/master@{#26850}
parent 9da259fb
......@@ -149,7 +149,7 @@ v8::StartupData Snapshot::CreateSnapshotBlob(
uint32_t first_page_sizes[kNumPagedSpaces];
CalculateFirstPageSizes(metadata.embeds_script(), startup_snapshot,
CalculateFirstPageSizes(!metadata.embeds_script(), startup_snapshot,
context_snapshot, first_page_sizes);
int startup_length = startup_data.length();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment