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

Unified Diff: mojo/edk/system/handle_table.h

Issue 1154903003: "typedef Foo Bar" -> "using Bar = Foo" in //mojo/edk/.... (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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: mojo/edk/system/handle_table.h
diff --git a/mojo/edk/system/handle_table.h b/mojo/edk/system/handle_table.h
index 9385643162dfaa541d77b5d5747bf3527fee2fe6..64ad18368361439938a151b0978f200c48db02a2 100644
--- a/mojo/edk/system/handle_table.h
+++ b/mojo/edk/system/handle_table.h
@@ -21,7 +21,7 @@ class Core;
class Dispatcher;
class DispatcherTransport;
-typedef std::vector<scoped_refptr<Dispatcher>> DispatcherVector;
+using DispatcherVector = std::vector<scoped_refptr<Dispatcher>>;
// Test-only function (defined/used in embedder/test_embedder.cc). Declared here
// so it can be friended.
@@ -126,7 +126,7 @@ class MOJO_SYSTEM_IMPL_EXPORT HandleTable {
scoped_refptr<Dispatcher> dispatcher;
bool busy;
};
- typedef base::hash_map<MojoHandle, Entry> HandleToEntryMap;
+ using HandleToEntryMap = base::hash_map<MojoHandle, Entry>;
// Adds the given dispatcher to the handle table, not doing any size checks.
MojoHandle AddDispatcherNoSizeCheck(

Powered by Google App Engine
This is Rietveld 408576698