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

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

Issue 2550593002: Update WM shadows for MD. (Closed)
Patch Set: fix corners Created 4 years 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 e21030bdb9ec79a56a4f7aa89e75c01fb675cb2a..f333bf1d4a47c41303bbb3c28f753a40f0660296 100644
--- a/ash/common/frame/default_header_painter.cc
+++ b/ash/common/frame/default_header_painter.cc
@@ -143,7 +143,7 @@ void DefaultHeaderPainter::PaintHeader(gfx::Canvas* canvas, Mode mode) {
int active_alpha = activation_animation_->CurrentValueBetween(0, 255);
paint.setColor(color_utils::AlphaBlend(active_frame_color_,
inactive_frame_color_, active_alpha));
-
+ paint.setAntiAlias(true);
James Cook 2016/12/05 23:38:35 Why does this now require AA?
Evan Stade 2016/12/06 00:53:21 It should have always had AA, but it wasn't partic
TileRoundRect(canvas, paint, GetLocalBounds(), corner_radius);
if (!frame_->IsMaximized() && !frame_->IsFullscreen() &&
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_header_painter_ash.cc » ('j') | ui/gfx/image/image_skia_operations.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698