| Index: tools/clang/rewrite_to_chrome_style/tests/fields-original.cc
|
| diff --git a/tools/clang/rewrite_to_chrome_style/tests/fields-original.cc b/tools/clang/rewrite_to_chrome_style/tests/fields-original.cc
|
| index d93d98629185ac53ee6ce00a043d29ee5f5862f5..d2c1b4dc81a68022890d63ea1d910aa46258d650 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/fields-original.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/fields-original.cc
|
| @@ -150,6 +150,13 @@ struct GenericHashTraitsBase {
|
| static const int kWeakHandlingFlag = TypeTrait2<T>::value ? 123 : 456;
|
| };
|
|
|
| +template <int Format>
|
| +struct IntermediateFormat {
|
| + // Some type traits have int type. Example below is loosely based on
|
| + // third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp
|
| + static const int value = (Format == 123) ? 456 : 789;
|
| +};
|
| +
|
| }; // namespace WTF
|
|
|
| void F() {
|
|
|