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 0753de70274f485b73fc2f9dd2c27ddcf433b278..11c3f4dd018f7c43bde24175e60f57865035844c 100644 |
--- a/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp |
+++ b/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp |
@@ -11,7 +11,6 @@ |
#include "platform/testing/UnitTestHelpers.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefPtr.h" |
-#include <memory> |
namespace blink { |
namespace testing { |
@@ -48,10 +47,10 @@ class TestFontSelector : public FontSelector { |
void fontCacheInvalidated() override {} |
private: |
- TestFontSelector(std::unique_ptr<FontCustomPlatformData> customPlatformData) |
- : m_customPlatformData(std::move(customPlatformData)) {} |
+ TestFontSelector(PassRefPtr<FontCustomPlatformData> customPlatformData) |
+ : m_customPlatformData(customPlatformData) {} |
- std::unique_ptr<FontCustomPlatformData> m_customPlatformData; |
+ RefPtr<FontCustomPlatformData> m_customPlatformData; |
}; |
} // namespace |