| Index: tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
|
| diff --git a/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc b/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
|
| index 734d7593761f234fead4c2801fb5791de7498b3b..bc9255bfaa296e37073972a00624430322fd0900 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
|
| @@ -181,16 +181,24 @@ class BitVector {
|
| class OutOfLineBits {};
|
| enum Foo { Blah };
|
| struct Bar {};
|
| + class Baz {};
|
| + class FooBar {};
|
| +
|
| + template <typename T>
|
| + class MyRefPtr {};
|
|
|
| // Naive renaming will break the build, by leaving return type the same
|
| - // as method the name - to avoid this "Get" prefix needs to be prepended
|
| + // as the method name - to avoid this "Get" prefix needs to be prepended
|
| // as suggested in https://crbug.com/582312#c17.
|
| const OutOfLineBits* outOfLineBits() const { return nullptr; }
|
| Foo foo() { return Blah; }
|
| const Bar& bar() const { return m_bar; }
|
| + MyRefPtr<Baz> baz() { return MyRefPtr<Baz>(); }
|
| + const MyRefPtr<FooBar>& fooBar() { return foobar_; }
|
|
|
| private:
|
| Bar m_bar;
|
| + MyRefPtr<FooBar> foobar_;
|
| };
|
|
|
| } // namespace blink
|
|
|