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

Unified Diff: ui/views/animation/test/test_ink_drop_delegate.cc

Issue 2017833003: Fixes ink drop being "stuck" on when losing focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removal of the nits... Created 4 years, 7 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
Index: ui/views/animation/test/test_ink_drop_delegate.cc
diff --git a/ui/views/animation/test/test_ink_drop_delegate.cc b/ui/views/animation/test/test_ink_drop_delegate.cc
index 9d20cf0fffc09e5f7b6a6cacb83efcdc4e1b4330..ce37242f5995da695a70b07c7cec26463bf1fd6c 100644
--- a/ui/views/animation/test/test_ink_drop_delegate.cc
+++ b/ui/views/animation/test/test_ink_drop_delegate.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "ui/views/animation/test/test_ink_drop.h"
#include "ui/views/animation/test/test_ink_drop_delegate.h"
namespace views {
@@ -29,7 +30,9 @@ InkDropState TestInkDropDelegate::GetTargetInkDropState() const {
}
InkDrop* TestInkDropDelegate::GetInkDrop() {
- return nullptr;
+ if (!ink_drop_.get())
bruthig 2016/06/02 15:21:35 Was this change necessary or are you just back fil
+ ink_drop_.reset(new TestInkDrop);
+ return ink_drop_.get();
}
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698