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

Unified Diff: ui/message_center/views/message_view.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 | « ui/gfx/shadow_value_unittest.cc ('k') | ui/views/button_drag_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_view.cc
diff --git a/ui/message_center/views/message_view.cc b/ui/message_center/views/message_view.cc
index f88fc19c5093e60016d6cdf186b9a56088edebc3..ef527a6de4079a6233dd2ee6e220ddd626d79ee9 100644
--- a/ui/message_center/views/message_view.cc
+++ b/ui/message_center/views/message_view.cc
@@ -128,7 +128,7 @@ gfx::Insets MessageView::GetShadowInsets() {
void MessageView::CreateShadowBorder() {
SetBorder(scoped_ptr<views::Border>(new views::ShadowBorder(
- gfx::ShadowValue(gfx::Point(0, kShadowOffset), kShadowBlur,
+ gfx::ShadowValue(gfx::Vector2d(0, kShadowOffset), kShadowBlur,
message_center::kShadowColor))));
}
« no previous file with comments | « ui/gfx/shadow_value_unittest.cc ('k') | ui/views/button_drag_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698