diff options
author | wjywbs@gmail.com <wjywbs@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-09 11:06:44 +0000 |
---|---|---|
committer | wjywbs@gmail.com <wjywbs@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-09 11:06:44 +0000 |
commit | 29189e1dce5e4cee4d29e5e8a86494f60f597fa9 (patch) | |
tree | 1ac0c4e8a75f922f7649a9d283554b59540bff25 /mojo | |
parent | d32a92657ebd66f4fb29bde9bb94bf2b2a1d2cd9 (diff) | |
download | chromium_src-29189e1dce5e4cee4d29e5e8a86494f60f597fa9.zip chromium_src-29189e1dce5e4cee4d29e5e8a86494f60f597fa9.tar.gz chromium_src-29189e1dce5e4cee4d29e5e8a86494f60f597fa9.tar.bz2 |
Fix compile error if both inline and reference enums are used in a type.
The ToString() overloading function of inline and reference enums
will conflict because they exist in both global namespace and local
classes. This is a workaround to generate EnumNameToString() and use
it in ToValue() of the type. ToString() is still generated for
compatibility because some other code still use it.
R=kalman@chromium.org
BUG=371042
Review URL: https://codereview.chromium.org/270523005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269220 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo')
0 files changed, 0 insertions, 0 deletions