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

Side by Side Diff: skia/ext/pixel_ref_utils_unittest.cc

Issue 478383002: remove unncessary include (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/compiler_specific.h" 5 #include "base/compiler_specific.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "cc/test/geometry_test_utils.h" 7 #include "cc/test/geometry_test_utils.h"
8 #include "skia/ext/pixel_ref_utils.h" 8 #include "skia/ext/pixel_ref_utils.h"
9 #include "skia/ext/refptr.h" 9 #include "skia/ext/refptr.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 11 #include "third_party/skia/include/core/SkBitmap.h"
12 #include "third_party/skia/include/core/SkCanvas.h" 12 #include "third_party/skia/include/core/SkCanvas.h"
13 #include "third_party/skia/include/core/SkFlattenableBuffers.h"
14 #include "third_party/skia/include/core/SkPictureRecorder.h" 13 #include "third_party/skia/include/core/SkPictureRecorder.h"
15 #include "third_party/skia/include/core/SkPixelRef.h" 14 #include "third_party/skia/include/core/SkPixelRef.h"
16 #include "third_party/skia/include/core/SkPoint.h" 15 #include "third_party/skia/include/core/SkPoint.h"
17 #include "third_party/skia/include/core/SkShader.h" 16 #include "third_party/skia/include/core/SkShader.h"
18 #include "third_party/skia/src/core/SkOrderedReadBuffer.h" 17 #include "third_party/skia/src/core/SkOrderedReadBuffer.h"
19 #include "ui/gfx/rect.h" 18 #include "ui/gfx/rect.h"
20 #include "ui/gfx/skia_util.h" 19 #include "ui/gfx/skia_util.h"
21 20
22 namespace skia { 21 namespace skia {
23 22
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 EXPECT_EQ(3u, pixel_refs.size()); 652 EXPECT_EQ(3u, pixel_refs.size());
654 EXPECT_FLOAT_RECT_EQ(gfx::RectF(10, 10, 90, 90), 653 EXPECT_FLOAT_RECT_EQ(gfx::RectF(10, 10, 90, 90),
655 gfx::SkRectToRectF(pixel_refs[0].pixel_ref_rect)); 654 gfx::SkRectToRectF(pixel_refs[0].pixel_ref_rect));
656 EXPECT_FLOAT_RECT_EQ(gfx::RectF(10, 10, 40, 40), 655 EXPECT_FLOAT_RECT_EQ(gfx::RectF(10, 10, 40, 40),
657 gfx::SkRectToRectF(pixel_refs[1].pixel_ref_rect)); 656 gfx::SkRectToRectF(pixel_refs[1].pixel_ref_rect));
658 EXPECT_FLOAT_RECT_EQ(gfx::RectF(50, 55, 150, 145), 657 EXPECT_FLOAT_RECT_EQ(gfx::RectF(50, 55, 150, 145),
659 gfx::SkRectToRectF(pixel_refs[2].pixel_ref_rect)); 658 gfx::SkRectToRectF(pixel_refs[2].pixel_ref_rect));
660 } 659 }
661 660
662 } // namespace skia 661 } // namespace skia
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698