| Index: third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp b/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp
|
| index 79886328597081e8db0cb3d9cc5fef837132ed22..93a91866c70d0e960935c3e07e64147e54d628d9 100644
|
| --- a/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp
|
| @@ -20,12 +20,12 @@ namespace {
|
|
|
| class TestFontSelector : public FontSelector {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<TestFontSelector> create(const String& path)
|
| + static RawPtr<TestFontSelector> create(const String& path)
|
| {
|
| RefPtr<SharedBuffer> fontBuffer = testing::readFromFile(path);
|
| String otsParseMessage;
|
| - return adoptRefWillBeNoop(new TestFontSelector(FontCustomPlatformData::create(
|
| - fontBuffer.get(), otsParseMessage)));
|
| + return new TestFontSelector(FontCustomPlatformData::create(
|
| + fontBuffer.get(), otsParseMessage));
|
| }
|
|
|
| ~TestFontSelector() override { }
|
|
|