| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/memory/scoped_ptr.h" | 5 #include "base/memory/scoped_ptr.h" |
| 6 #include "cc/test/fake_picture_pile_impl.h" | 6 #include "cc/test/fake_picture_pile_impl.h" |
| 7 #include "cc/test/skia_common.h" | 7 #include "cc/test/skia_common.h" |
| 8 #include "skia/ext/refptr.h" | 8 #include "skia/ext/refptr.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 #include "third_party/skia/include/core/SkPixelRef.h" | 10 #include "third_party/skia/include/core/SkPixelRef.h" |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 540 EXPECT_TRUE(iterator); | 540 EXPECT_TRUE(iterator); |
| 541 EXPECT_TRUE(*iterator == discardable_bitmap[1].pixelRef()); | 541 EXPECT_TRUE(*iterator == discardable_bitmap[1].pixelRef()); |
| 542 EXPECT_TRUE(++iterator); | 542 EXPECT_TRUE(++iterator); |
| 543 EXPECT_TRUE(*iterator == discardable_bitmap[2].pixelRef()); | 543 EXPECT_TRUE(*iterator == discardable_bitmap[2].pixelRef()); |
| 544 EXPECT_FALSE(++iterator); | 544 EXPECT_FALSE(++iterator); |
| 545 } | 545 } |
| 546 } | 546 } |
| 547 | 547 |
| 548 } // namespace | 548 } // namespace |
| 549 } // namespace cc | 549 } // namespace cc |
| OLD | NEW |