Commit c852a840 authored by Timothy Loh's avatar Timothy Loh Committed by Commit Bot

Fix log error for progress going backwards in Plugin VM installer

Bug: b:169973809
Change-Id: I2cd308d0805a7f7009f539572a8e0437069fe9d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2459547
Commit-Queue: Timothy Loh <timloh@chromium.org>
Commit-Queue: Joel Hockey <joelhockey@chromium.org>
Auto-Submit: Timothy Loh <timloh@chromium.org>
Reviewed-by: default avatarJoel Hockey <joelhockey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#815023}
parent d728fd0e
...@@ -490,7 +490,7 @@ void PluginVmInstaller::UpdateProgress(double state_progress) { ...@@ -490,7 +490,7 @@ void PluginVmInstaller::UpdateProgress(double state_progress) {
start_range + (end_range - start_range) * state_progress; start_range + (end_range - start_range) * state_progress;
if (new_progress < progress_) { if (new_progress < progress_) {
LOG(ERROR) << "Progress went backwards from " << progress_ << " to " LOG(ERROR) << "Progress went backwards from " << progress_ << " to "
<< progress_; << new_progress;
return; return;
} }
......
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