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 8b94a3626c7ec88a38458277fd4ee6a5992b3017..91be6dd102dcea376de76f8048c92111181e19bf 100644 |
--- a/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp |
+++ b/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp |
@@ -9,9 +9,9 @@ |
#include "platform/fonts/FontDescription.h" |
#include "platform/fonts/FontSelector.h" |
#include "platform/testing/UnitTestHelpers.h" |
-#include "wtf/OwnPtr.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefPtr.h" |
+#include <memory> |
namespace blink { |
namespace testing { |
@@ -50,12 +50,12 @@ public: |
void fontCacheInvalidated() override { } |
private: |
- TestFontSelector(PassOwnPtr<FontCustomPlatformData> customPlatformData) |
+ TestFontSelector(std::unique_ptr<FontCustomPlatformData> customPlatformData) |
: m_customPlatformData(std::move(customPlatformData)) |
{ |
} |
- OwnPtr<FontCustomPlatformData> m_customPlatformData; |
+ std::unique_ptr<FontCustomPlatformData> m_customPlatformData; |
}; |
} // namespace |