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

Side by Side Diff: third_party/WebKit/Source/platform/testing/PictureMatchers.cpp

Issue 2803613002: Rewrite references to "wtf/" to "platform/wtf/" in platform/testing. (Closed)
Patch Set: Fix compile error. (Why did this work before?) Created 3 years, 8 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "platform/testing/PictureMatchers.h" 5 #include "platform/testing/PictureMatchers.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "platform/geometry/FloatQuad.h" 9 #include "platform/geometry/FloatQuad.h"
10 #include "platform/geometry/FloatRect.h" 10 #include "platform/geometry/FloatRect.h"
11 #include "platform/wtf/Vector.h"
12 #include "platform/wtf/text/WTFString.h"
11 #include "third_party/skia/include/core/SkCanvas.h" 13 #include "third_party/skia/include/core/SkCanvas.h"
12 #include "third_party/skia/include/core/SkPicture.h" 14 #include "third_party/skia/include/core/SkPicture.h"
13 #include "wtf/Vector.h"
14 #include "wtf/text/WTFString.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 namespace { 18 namespace {
19 19
20 struct QuadWithColor { 20 struct QuadWithColor {
21 FloatQuad quad; 21 FloatQuad quad;
22 Color color; 22 Color color;
23 }; 23 };
24 24
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 rectsWithColor.push_back(RectWithColor(rect, color)); 163 rectsWithColor.push_back(RectWithColor(rect, color));
164 return ::testing::MakeMatcher(new DrawsRectanglesMatcher(rectsWithColor)); 164 return ::testing::MakeMatcher(new DrawsRectanglesMatcher(rectsWithColor));
165 } 165 }
166 166
167 ::testing::Matcher<const SkPicture&> drawsRectangles( 167 ::testing::Matcher<const SkPicture&> drawsRectangles(
168 const Vector<RectWithColor>& rectsWithColor) { 168 const Vector<RectWithColor>& rectsWithColor) {
169 return ::testing::MakeMatcher(new DrawsRectanglesMatcher(rectsWithColor)); 169 return ::testing::MakeMatcher(new DrawsRectanglesMatcher(rectsWithColor));
170 } 170 }
171 171
172 } // namespace blink 172 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698