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

Unified Diff: Source/core/inspector/TraceEventDispatcher.cpp

Issue 884753003: Fix template angle bracket syntax in inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Some more fixes Created 5 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 | « Source/core/inspector/TraceEventDispatcher.h ('k') | Source/core/inspector/V8AsyncCallTracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/TraceEventDispatcher.cpp
diff --git a/Source/core/inspector/TraceEventDispatcher.cpp b/Source/core/inspector/TraceEventDispatcher.cpp
index 918fb52d59fa3cd6ec29ecb3d20e87d479609fb8..be09b62434a8b90623959fd0d67d208e7f009c09 100644
--- a/Source/core/inspector/TraceEventDispatcher.cpp
+++ b/Source/core/inspector/TraceEventDispatcher.cpp
@@ -94,7 +94,7 @@ void TraceEventDispatcher::processBackgroundEvents()
ListenersMap::iterator it = m_listeners->find(std::make_pair(event.name(), event.phase()));
if (it == m_listeners->end())
continue;
- WillBeHeapVector<OwnPtrWillBeMember<TraceEventListener> >& listeners = *it->value.get();
+ WillBeHeapVector<OwnPtrWillBeMember<TraceEventListener>>& listeners = *it->value.get();
for (size_t listenerIndex = 0; listenerIndex < listeners.size(); ++listenerIndex)
listeners[listenerIndex]->call(event);
}
@@ -110,7 +110,7 @@ void TraceEventDispatcher::addListener(const char* name, char phase, PassOwnPtrW
client->setTraceEventCallback(CategoryFilter, dispatchEventOnAnyThread);
ListenersMap::iterator it = m_listeners->find(std::make_pair(name, phase));
if (it == m_listeners->end())
- m_listeners->add(std::make_pair(name, phase), adoptPtrWillBeNoop(new WillBeHeapVector<OwnPtrWillBeMember<TraceEventListener> >())).storedValue->value->append(listener);
+ m_listeners->add(std::make_pair(name, phase), adoptPtrWillBeNoop(new WillBeHeapVector<OwnPtrWillBeMember<TraceEventListener>>())).storedValue->value->append(listener);
else
it->value->append(listener);
}
@@ -124,7 +124,7 @@ void TraceEventDispatcher::removeAllListeners(void* eventTarget, InspectorClient
ListenersMap remainingListeners;
for (auto& listener : *m_listeners) {
- WillBeHeapVector<OwnPtrWillBeMember<TraceEventListener> >& listeners = *listener.value.get();
+ WillBeHeapVector<OwnPtrWillBeMember<TraceEventListener>>& listeners = *listener.value.get();
for (size_t j = 0; j < listeners.size();) {
if (listeners[j]->target() == eventTarget)
listeners.remove(j);
« no previous file with comments | « Source/core/inspector/TraceEventDispatcher.h ('k') | Source/core/inspector/V8AsyncCallTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698