Index: ui/events/platform/platform_event_source.cc |
diff --git a/ui/events/platform/platform_event_source.cc b/ui/events/platform/platform_event_source.cc |
index 9607ab78232e971d8b4b099829f5395b47722694..bf957f07476f590f917e017280e3a0b8cfcd4880 100644 |
--- a/ui/events/platform/platform_event_source.cc |
+++ b/ui/events/platform/platform_event_source.cc |
@@ -51,6 +51,9 @@ scoped_ptr<ScopedEventDispatcher> PlatformEventSource::OverrideDispatcher( |
new ScopedEventDispatcher(&overridden_dispatcher_, dispatcher)); |
} |
+void PlatformEventSource::StopCurrentEventStream() { |
+} |
+ |
void PlatformEventSource::AddPlatformEventObserver( |
PlatformEventObserver* observer) { |
CHECK(observer); |
@@ -73,7 +76,7 @@ uint32_t PlatformEventSource::DispatchEvent(PlatformEvent platform_event) { |
if ((action & POST_DISPATCH_PERFORM_DEFAULT) && |
dispatchers_.might_have_observers()) { |
- ObserverList<PlatformEventDispatcher>::Iterator iter(dispatchers_); |
+ ObserverList<PlatformEventDispatcher>::Iterator iter(&dispatchers_); |
while (PlatformEventDispatcher* dispatcher = iter.GetNext()) { |
if (dispatcher->CanDispatchEvent(platform_event)) |
action = dispatcher->DispatchEvent(platform_event); |
@@ -97,9 +100,6 @@ uint32_t PlatformEventSource::DispatchEvent(PlatformEvent platform_event) { |
return action; |
} |
-void PlatformEventSource::StopCurrentEventStream() { |
-} |
- |
void PlatformEventSource::OnDispatcherListChanged() { |
} |