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

Unified Diff: Source/modules/webmidi/MIDIPortMap.h

Issue 864533002: Fix template angle bracket syntax in modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: Source/modules/webmidi/MIDIPortMap.h
diff --git a/Source/modules/webmidi/MIDIPortMap.h b/Source/modules/webmidi/MIDIPortMap.h
index bed06458300372c8dc5cf2b8cce2df84e92c7169..907e6ce5bea1ac4640588070867271fb60b49342 100644
--- a/Source/modules/webmidi/MIDIPortMap.h
+++ b/Source/modules/webmidi/MIDIPortMap.h
@@ -19,9 +19,9 @@
namespace blink {
template <typename T>
-class MIDIPortMap : public GarbageCollected<MIDIPortMap<T> > {
+class MIDIPortMap : public GarbageCollected<MIDIPortMap<T>> {
public:
- explicit MIDIPortMap(const HeapHashMap<String, Member<T> >& entries) : m_entries(entries) { }
+ explicit MIDIPortMap(const HeapHashMap<String, Member<T>>& entries) : m_entries(entries) { }
// IDL attributes / methods
size_t size() const { return m_entries.size(); }
@@ -38,8 +38,8 @@ public:
}
private:
- typedef HeapHashMap<String, Member<T> > MapType;
- typedef typename HeapHashMap<String, Member<T> >::const_iterator IteratorType;
+ typedef HeapHashMap<String, Member<T>> MapType;
+ typedef typename HeapHashMap<String, Member<T>>::const_iterator IteratorType;
struct KeySelector {
static const String& select(ScriptState*, IteratorType i) { return i->key; }
};
@@ -91,7 +91,7 @@ private:
private:
// m_map is stored just for keeping it alive. It needs to be kept
// alive while JavaScript holds the iterator to it.
- const Member<const MIDIPortMap<T> > m_map;
+ const Member<const MIDIPortMap<T>> m_map;
IteratorType m_iterator;
const IteratorType m_end;
};

Powered by Google App Engine
This is Rietveld 408576698