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

Unified Diff: ui/gfx/vector_icon_types.h

Issue 2861203002: Refactor some vector icon parsing code for reuse (Closed)
Patch Set: probably unnecessary rebase Created 3 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
« no previous file with comments | « ui/gfx/paint_vector_icon.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/vector_icon_types.h
diff --git a/ui/gfx/vector_icon_types.h b/ui/gfx/vector_icon_types.h
index e8217e6ae36970d1ee399674e0ec19c6f99e6c1f..b18000b41fe304b8ade4ae9bdde408243741b068 100644
--- a/ui/gfx/vector_icon_types.h
+++ b/ui/gfx/vector_icon_types.h
@@ -64,11 +64,11 @@ enum CommandType {
// A POD that describes either a path command or an argument for it.
struct PathElement {
- constexpr PathElement(CommandType value) : type(value) {}
+ constexpr PathElement(CommandType value) : command(value) {}
constexpr PathElement(SkScalar value) : arg(value) {}
union {
- CommandType type;
+ CommandType command;
SkScalar arg;
};
};
« no previous file with comments | « ui/gfx/paint_vector_icon.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698