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

Unified Diff: ui/aura/event_filter_unittest.cc

Issue 9315004: Remove Owner param to EventFilter's ctor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 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/aura/event_filter.cc ('k') | ui/aura/test/test_event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/event_filter_unittest.cc
===================================================================
--- ui/aura/event_filter_unittest.cc (revision 119894)
+++ ui/aura/event_filter_unittest.cc (working copy)
@@ -92,10 +92,9 @@
TestEventFilterWindowDelegate* d1111 = new TestEventFilterWindowDelegate;
scoped_ptr<Window> w1111(CreateWindow(1111, w111.get(), d1111));
- TestEventFilter* root_window_filter =
- new TestEventFilter(RootWindow::GetInstance());
- TestEventFilter* w1_filter = new TestEventFilter(w1.get());
- TestEventFilter* w111_filter = new TestEventFilter(w111.get());
+ TestEventFilter* root_window_filter = new TestEventFilter;
+ TestEventFilter* w1_filter = new TestEventFilter;
+ TestEventFilter* w111_filter = new TestEventFilter;
RootWindow::GetInstance()->SetEventFilter(root_window_filter);
w1->SetEventFilter(w1_filter);
w111->SetEventFilter(w111_filter);
« no previous file with comments | « ui/aura/event_filter.cc ('k') | ui/aura/test/test_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698