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

Unified Diff: tools/clang/rewrite_to_chrome_style/tests/template-expected.cc

Issue 2544933002: Handling ElaboratedType and InjectedClassNameType in blink_qual_type_matcher. (Closed)
Patch Set: Removed unnecessary debugging output. Ooops. Created 4 years 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: tools/clang/rewrite_to_chrome_style/tests/template-expected.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/template-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/template-expected.cc
index 18e45128e95a072b0b29e37b2308a00e30f2255c..0b68b1b2208f2362f67c40b67dba66fa26ce5908 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/template-expected.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/template-expected.cc
@@ -280,4 +280,21 @@ class Derived : public Base {
} // namespace cxx_dependent_scope_member_expr_testing
+namespace blink_methods_called_from_mojo_traits_are_not_rewritten {
+
+template <typename V>
+struct MapTraits;
+
+template <typename V>
+struct MapTraits<blink::test_unnamed_arg::Class<V>> {
+ static void SetToEmpty(blink::test_unnamed_arg::Class<V>* output) {
+ // Need to rewrite |f| to |F| below (because this method name
+ // does get rewritten when processing blink::test_unnamed_arg::Class).
+ // See also https://crbug.com/670434.
+ output->F(123);
+ }
+};
+
+} // namespace blink_methods_called_from_mojo_traits_are_not_rewritten
+
} // namespace not_blink

Powered by Google App Engine
This is Rietveld 408576698