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}
This commit is contained in:
parent
9da259fb1f
commit
f9fd33c10f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user