Index: third_party/WebKit/Source/web/ContextFeaturesClientImpl.h |
diff --git a/third_party/WebKit/Source/web/ContextFeaturesClientImpl.h b/third_party/WebKit/Source/web/ContextFeaturesClientImpl.h |
index 3e1b9e3e6e81edaab94c31e7fb91d133ce390acb..64b5b07aee991c4e3f62854cb1971baf0470ae5b 100644 |
--- a/third_party/WebKit/Source/web/ContextFeaturesClientImpl.h |
+++ b/third_party/WebKit/Source/web/ContextFeaturesClientImpl.h |
@@ -32,16 +32,14 @@ |
#define ContextFeaturesClientImpl_h |
#include "core/dom/ContextFeatures.h" |
-#include "wtf/PtrUtil.h" |
-#include <memory> |
namespace blink { |
class ContextFeaturesClientImpl final : public ContextFeaturesClient { |
public: |
- static std::unique_ptr<ContextFeaturesClientImpl> create() |
+ static PassOwnPtr<ContextFeaturesClientImpl> create() |
{ |
- return wrapUnique(new ContextFeaturesClientImpl()); |
+ return adoptPtr(new ContextFeaturesClientImpl()); |
} |
bool isEnabled(Document*, ContextFeatures::FeatureType, bool defaultValue) override; |