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

Unified Diff: ash/common/frame/default_header_painter.cc

Issue 2277563002: Wires up immersive mode for chrome and mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 4 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: ash/common/frame/default_header_painter.cc
diff --git a/ash/common/frame/default_header_painter.cc b/ash/common/frame/default_header_painter.cc
index c0ef3a870a8b870723c2ca8d346949c2370f56f0..659e5cd53122f760ae7ca603e28773aad94581d5 100644
--- a/ash/common/frame/default_header_painter.cc
+++ b/ash/common/frame/default_header_painter.cc
@@ -150,10 +150,8 @@ void DefaultHeaderPainter::PaintHeader(gfx::Canvas* canvas, Mode mode) {
mode_ == MODE_INACTIVE && !UsesCustomFrameColors()) {
PaintHighlightForInactiveRestoredWindow(canvas);
}
- if (frame_->widget_delegate() &&
- frame_->widget_delegate()->ShouldShowWindowTitle()) {
+ if (frame_->widget_delegate()->ShouldShowWindowTitle())
PaintTitleBar(canvas);
- }
if (!UsesCustomFrameColors())
PaintHeaderContentSeparator(canvas);
}

Powered by Google App Engine
This is Rietveld 408576698