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

Unified Diff: ash/common/shelf/shelf_button.cc

Issue 2717943002: Fix cc/paint skia type mismatches (Closed)
Patch Set: Rebase 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 | « ash/common/shelf/app_list_button.cc ('k') | ash/common/system/chromeos/network/network_icon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_button.cc
diff --git a/ash/common/shelf/shelf_button.cc b/ash/common/shelf/shelf_button.cc
index 2a9d2ad924f891fd4f3d1c8534fa4de8e0bfc548..ff2e786a1d0a3cfbdbba3b942437fd1976c13731 100644
--- a/ash/common/shelf/shelf_button.cc
+++ b/ash/common/shelf/shelf_button.cc
@@ -53,8 +53,8 @@ const int kIconPaddingVertical = 8;
// Paints an activity indicator on |canvas| whose |size| is specified in DIP.
void PaintIndicatorOnCanvas(gfx::Canvas* canvas, const gfx::Size& size) {
cc::PaintFlags flags;
+ flags.setAntiAlias(true);
flags.setColor(kIndicatorColor);
- flags.setFlags(cc::PaintFlags::kAntiAlias_Flag);
canvas->DrawCircle(
gfx::Point(size.width() / 2,
size.height() - kIndicatorOffsetFromBottom - kIndicatorRadius),
« no previous file with comments | « ash/common/shelf/app_list_button.cc ('k') | ash/common/system/chromeos/network/network_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698