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

Unified Diff: ui/views/controls/label.cc

Issue 2728063002: cros: Fix immersive fullscreen tabstrip revealing does not draw well (Closed)
Patch Set: delete the change in header_view Created 3 years, 10 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
« no previous file with comments | « chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/label.cc
diff --git a/ui/views/controls/label.cc b/ui/views/controls/label.cc
index 2d1694204b13989252d5fbc53687aa944ef515f9..05322303bb6f85fef8affab9e3170459c0fbaa93 100644
--- a/ui/views/controls/label.cc
+++ b/ui/views/controls/label.cc
@@ -467,10 +467,9 @@ void Label::PaintText(gfx::Canvas* canvas) {
SkColorGetA(view->background()->get_color()) == SK_AlphaOPAQUE)
break;
- if (view->layer()) {
- DCHECK(view->layer()->fills_bounds_opaquely())
- << " Ancestor view has a non-opaque layer: " << view->GetClassName()
- << " with ID " << view->id();
+ if (view->layer() && view->layer()->fills_bounds_opaquely()) {
+ DLOG(WARNING) << "Ancestor view has a non-opaque layer: "
+ << view->GetClassName() << " with ID " << view->id();
break;
}
}
« no previous file with comments | « chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698