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