| Index: third_party/WebKit/Source/platform/fonts/FontTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontTest.cpp b/third_party/WebKit/Source/platform/fonts/FontTest.cpp
|
| index 78a19e4b8a0ecba1f9d4738cd33daf1dd1f6fe4f..0e60067064b1af5b046cdb55b6dccd1d29b58f6e 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontTest.cpp
|
| @@ -14,13 +14,9 @@ using blink::testing::createTestFont;
|
|
|
| namespace blink {
|
|
|
| -static inline String fontPath(String relativePath) {
|
| - return testing::blinkRootDir() + "/Source/platform/testing/data/" +
|
| - relativePath;
|
| -}
|
| -
|
| TEST(FontTest, TextIntercepts) {
|
| - Font font = createTestFont("Ahem", fontPath("Ahem.woff"), 16);
|
| + Font font =
|
| + createTestFont("Ahem", testing::platformTestDataPath("Ahem.woff"), 16);
|
| // A sequence of LATIN CAPITAL LETTER E WITH ACUTE and LATIN SMALL LETTER P
|
| // characters. E ACUTES are squares above the baseline in Ahem, while p's
|
| // are rectangles below the baseline.
|
|
|