Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 1421483005: Reland: Remove DCHECK_IMPLIES/CHECK_IMPLIES. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index b83800b03420b63dedfcdaf9102f2f28494a47d9..850a244d37d07c66ab18472e486c182a192fd204 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -709,7 +709,7 @@ void CompositorImpl::ScheduleComposite() {
if (ignore_schedule_composite_ || !host_->visible())
return;
- DCHECK_IMPLIES(needs_composite_, WillComposite());
+ DCHECK(!needs_composite_ || WillComposite());
needs_composite_ = true;
// We currently expect layer tree invalidations at most once per frame
// during normal operation and therefore try to composite immediately
« no previous file with comments | « content/browser/frame_host/render_frame_proxy_host.cc ('k') | content/browser/service_worker/service_worker_provider_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698