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

Unified Diff: ui/views/animation/ink_drop_ripple_unittest.cc

Issue 2533053002: Handle view resize for ripple (Closed)
Patch Set: const -> constexpr Created 4 years, 1 month 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/views/animation/ink_drop_ripple.cc ('k') | ui/views/controls/button/label_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/ink_drop_ripple_unittest.cc
diff --git a/ui/views/animation/ink_drop_ripple_unittest.cc b/ui/views/animation/ink_drop_ripple_unittest.cc
index 27835b08aebf811a2ff6026908593e5308c8d6e5..add5baf5dae7062f88589f384cdc5f34e0d14f49 100644
--- a/ui/views/animation/ink_drop_ripple_unittest.cc
+++ b/ui/views/animation/ink_drop_ripple_unittest.cc
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/geometry/size.h"
#include "ui/views/animation/flood_fill_ink_drop_ripple.h"
#include "ui/views/animation/ink_drop_ripple_observer.h"
@@ -67,7 +68,7 @@ InkDropRippleTest::InkDropRippleTest() {
}
case FLOOD_FILL_INK_DROP_RIPPLE: {
FloodFillInkDropRipple* flood_fill_ink_drop_ripple =
- new FloodFillInkDropRipple(gfx::Rect(0, 0, 10, 10), gfx::Point(),
+ new FloodFillInkDropRipple(gfx::Size(10, 10), gfx::Point(),
SK_ColorBLACK, kVisibleOpacity);
ink_drop_ripple_.reset(flood_fill_ink_drop_ripple);
test_api_.reset(
« no previous file with comments | « ui/views/animation/ink_drop_ripple.cc ('k') | ui/views/controls/button/label_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698