| Index: tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc
|
| diff --git a/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc
|
| index 828e33a7b1282fa2d1f3d9af2a05f9705e6e35e5..50a5183dfef1b0dcafa74b6737c62b4be263dff9 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc
|
| @@ -57,6 +57,16 @@ union U {
|
|
|
| } // namespace blink
|
|
|
| +namespace WTF {
|
| +
|
| +struct TypeTrait {
|
| + // WTF has structs for things like type traits, which we don't want to
|
| + // capitalize.
|
| + static const bool value = true;
|
| +};
|
| +
|
| +}; // namespace WTF
|
| +
|
| void F() {
|
| // Test that references to a static field are correctly rewritten.
|
| blink::C::instance_count_++;
|
| @@ -64,4 +74,6 @@ void F() {
|
| // initializers for synthesized functions don't cause weird rewrites.
|
| blink::C c;
|
| blink::C c2 = c;
|
| +
|
| + bool b = WTF::TypeTrait::value;
|
| }
|
|
|