Chromium Code Reviews| Index: tools/clang/rewrite_scoped_refptr/tests/test11-expected.cc |
| diff --git a/tools/clang/rewrite_scoped_refptr/tests/test11-expected.cc b/tools/clang/rewrite_scoped_refptr/tests/test11-expected.cc |
| index de4c01cacba0b88e6ad3baaeab9480239a41935f..4557b52a604f5a3625a742b0012e294e71144e81 100644 |
| --- a/tools/clang/rewrite_scoped_refptr/tests/test11-expected.cc |
| +++ b/tools/clang/rewrite_scoped_refptr/tests/test11-expected.cc |
| @@ -17,6 +17,8 @@ void TestsAScopedRefptr() { |
| list.push_back(new Foo); |
| list.push_back(new Foo); |
| for (FooList::const_iterator it = list.begin(); it != list.end(); ++it) { |
| + if (!it->get()) |
| + continue; |
| Foo* item = it->get(); |
| } |
| } |