Commit 1ac47e61 authored by erikcorry's avatar erikcorry Committed by Commit bot

Fix external-snapshot startup when snapshot is missing, but natives source is available

R=vogelheim@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#27573}
parent 18cb17c9
......@@ -986,7 +986,9 @@ class Isolate {
}
bool serializer_enabled() const { return serializer_enabled_; }
bool snapshot_available() const { return snapshot_blob_ != NULL; }
bool snapshot_available() const {
return snapshot_blob_ != NULL && snapshot_blob_->raw_size != 0;
}
bool IsDead() { return has_fatal_error_; }
void SignalFatalError() { has_fatal_error_ = true; }
......
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