| Index: tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
|
| diff --git a/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
|
| index 0b07aef279cb1ead1bfdbce8cd4c8b0a098e0c94..c7b847ecdd631e60435f94640fe8be9bade24d16 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
|
| @@ -177,13 +177,18 @@ class BitVector {
|
| class OutOfLineBits {};
|
| enum Foo { kBlah };
|
| struct Bar {};
|
| + class Baz {};
|
| +
|
| + 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* GetOutOfLineBits() const { return nullptr; }
|
| Foo GetFoo() { return kBlah; }
|
| const Bar& GetBar() const { return bar_; }
|
| + MyRefPtr<Baz> GetBaz() { return MyRefPtr<Baz>(); }
|
|
|
| private:
|
| Bar bar_;
|
|
|