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

Unified Diff: ui/events/event_processor_unittest.cc

Issue 1411833006: Refactoring to make adding ink drop animations easier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor ink drop animations (nits in ui/views/ Created 5 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/aura/window.cc ('k') | ui/events/event_target.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_processor_unittest.cc
diff --git a/ui/events/event_processor_unittest.cc b/ui/events/event_processor_unittest.cc
index a0ab5b63f9088412978cd78d284262e34fbd909e..c563c17c9c9b255f62c59ff8e287e7b98737d983 100644
--- a/ui/events/event_processor_unittest.cc
+++ b/ui/events/event_processor_unittest.cc
@@ -4,6 +4,7 @@
#include <vector>
+#include "base/macros.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/event.h"
#include "ui/events/event_target_iterator.h"
@@ -139,7 +140,7 @@ TEST_F(EventProcessorTest, NestedEventProcessing) {
// first event processor should be handled by |target_handler| instead.
scoped_ptr<TestEventHandler> target_handler(
new ReDispatchEventHandler(second_processor.get(), root()->child_at(0)));
- root()->child_at(0)->set_target_handler(target_handler.get());
+ ignore_result(root()->child_at(0)->SetTargetHandler(target_handler.get()));
// Dispatch a mouse event to the tree of event targets owned by the first
// event processor, checking in ReDispatchEventHandler that the phase and
« no previous file with comments | « ui/aura/window.cc ('k') | ui/events/event_target.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698