Commit 0c432743 authored by jochen's avatar jochen Committed by Commit bot

Check that we're called on a valid heap during idle notifications

BUG=chromium:425035
R=dcarney@chromium.org
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#26491}
parent 7f4d207c
......@@ -4538,6 +4538,7 @@ bool Heap::IdleNotification(int idle_time_in_ms) {
bool Heap::IdleNotification(double deadline_in_seconds) {
CHECK(HasBeenSetUp()); // http://crbug.com/425035
double deadline_in_ms =
deadline_in_seconds *
static_cast<double>(base::Time::kMillisecondsPerSecond);
......
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