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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBloberizerTest.cpp

Issue 2795413003: Rewrite references to "wtf/" to "platform/wtf/" in platform/fonts. (Closed)
Patch Set: 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/fonts/shaping/ShapeResultBloberizer.h" 5 #include "platform/fonts/shaping/ShapeResultBloberizer.h"
6 6
7 #include "platform/fonts/Font.h" 7 #include "platform/fonts/Font.h"
8 #include "platform/fonts/SimpleFontData.h" 8 #include "platform/fonts/SimpleFontData.h"
9 #include "platform/fonts/opentype/OpenTypeVerticalData.h" 9 #include "platform/fonts/opentype/OpenTypeVerticalData.h"
10 #include "platform/fonts/shaping/ShapeResultTestInfo.h" 10 #include "platform/fonts/shaping/ShapeResultTestInfo.h"
11 #include "platform/wtf/Optional.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 #include "wtf/Optional.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 namespace { 16 namespace {
17 17
18 // Minimal TestSimpleFontData implementation. 18 // Minimal TestSimpleFontData implementation.
19 // Font has no glyphs, but that's okay. 19 // Font has no glyphs, but that's okay.
20 class TestSimpleFontData : public SimpleFontData { 20 class TestSimpleFontData : public SimpleFontData {
21 public: 21 public:
22 static PassRefPtr<TestSimpleFontData> create(bool forceRotation = false) { 22 static PassRefPtr<TestSimpleFontData> create(bool forceRotation = false) {
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 ShapeResultBloberizerTestInfo::pendingBlobRunCount(bloberizer)); 229 ShapeResultBloberizerTestInfo::pendingBlobRunCount(bloberizer));
230 EXPECT_EQ(op.expectedCommittedBlobs, 230 EXPECT_EQ(op.expectedCommittedBlobs,
231 ShapeResultBloberizerTestInfo::committedBlobCount(bloberizer)); 231 ShapeResultBloberizerTestInfo::committedBlobCount(bloberizer));
232 } 232 }
233 233
234 // flush everything -> 4 blobs total 234 // flush everything -> 4 blobs total
235 EXPECT_EQ(4u, bloberizer.blobs().size()); 235 EXPECT_EQ(4u, bloberizer.blobs().size());
236 } 236 }
237 237
238 } // namespace blink 238 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698