Commit d205c1a2 authored by Stephen McGruer's avatar Stephen McGruer Committed by Commit Bot

Fix missing 'break' in DocumentLifeCycle::CanAdvanceTo

No test is added because this is a DHCECK_IS_ON only method.

Bug: 808047
Change-Id: I615a07aec4223dd4c029f6e59dc864ffc7a0f739
Reviewed-on: https://chromium-review.googlesource.com/897053Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#534154}
parent 57603738
......@@ -222,7 +222,7 @@ bool DocumentLifecycle::CanAdvanceTo(LifecycleState next_state) const {
// Otherwise, we can continue onwards.
if (next_state == kCompositingClean)
return true;
FALLTHROUGH; // TODO(thakis): Intended? https://crbug.com/808047
break;
case kCompositingClean:
DCHECK(!RuntimeEnabledFeatures::SlimmingPaintV2Enabled());
if (next_state == kInStyleRecalc)
......
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