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

Unified Diff: ui/app_list/app_list_constants.cc

Issue 884653003: gfx::ShadowValue: offset is a Vector2d, not Point. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile. Created 5 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/profiles/new_avatar_button.cc ('k') | ui/app_list/views/app_list_item_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_constants.cc
diff --git a/ui/app_list/app_list_constants.cc b/ui/app_list/app_list_constants.cc
index 2916c44b55495c08d0da7eb59909709334dfffb4..d27bb3ba70c4785108d287ce5246766392690da1 100644
--- a/ui/app_list/app_list_constants.cc
+++ b/ui/app_list/app_list_constants.cc
@@ -151,13 +151,13 @@ gfx::ShadowValue GetShadowForZHeight(int z_height) {
switch (z_height) {
case 1:
- return gfx::ShadowValue(gfx::Point(0, 1), 2,
+ return gfx::ShadowValue(gfx::Vector2d(0, 1), 2,
SkColorSetARGB(0x4C, 0, 0, 0));
case 2:
- return gfx::ShadowValue(gfx::Point(0, 2), 4,
+ return gfx::ShadowValue(gfx::Vector2d(0, 2), 4,
SkColorSetARGB(0x33, 0, 0, 0));
default:
- return gfx::ShadowValue(gfx::Point(0, 8), 12,
+ return gfx::ShadowValue(gfx::Vector2d(0, 8), 12,
SkColorSetARGB(0x3F, 0, 0, 0));
}
}
« no previous file with comments | « chrome/browser/ui/views/profiles/new_avatar_button.cc ('k') | ui/app_list/views/app_list_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698