| Index: third_party/WebKit/Source/core/dom/ContextFeatures.h
|
| diff --git a/third_party/WebKit/Source/core/dom/ContextFeatures.h b/third_party/WebKit/Source/core/dom/ContextFeatures.h
|
| index 8d0ea1e9d3e84995d12ba0f51cc3f88a130d9b1a..fe53aa6186c2df6c5cda61f3c05fa69faf8fece5 100644
|
| --- a/third_party/WebKit/Source/core/dom/ContextFeatures.h
|
| +++ b/third_party/WebKit/Source/core/dom/ContextFeatures.h
|
| @@ -55,7 +55,7 @@ public:
|
|
|
| static const char* supplementName();
|
| static ContextFeatures* defaultSwitch();
|
| - static PassRefPtrWillBeRawPtr<ContextFeatures> create(PassOwnPtr<ContextFeaturesClient>);
|
| + static RawPtr<ContextFeatures> create(PassOwnPtr<ContextFeaturesClient>);
|
|
|
| static bool pagePopupEnabled(Document*);
|
| static bool mutationEventsEnabled(Document*);
|
| @@ -88,9 +88,9 @@ public:
|
| CORE_EXPORT void provideContextFeaturesTo(Page&, PassOwnPtr<ContextFeaturesClient>);
|
| void provideContextFeaturesToDocumentFrom(Document&, Page&);
|
|
|
| -inline PassRefPtrWillBeRawPtr<ContextFeatures> ContextFeatures::create(PassOwnPtr<ContextFeaturesClient> client)
|
| +inline RawPtr<ContextFeatures> ContextFeatures::create(PassOwnPtr<ContextFeaturesClient> client)
|
| {
|
| - return adoptRefWillBeNoop(new ContextFeatures(std::move(client)));
|
| + return new ContextFeatures(std::move(client));
|
| }
|
|
|
| inline bool ContextFeatures::isEnabled(Document* document, FeatureType type, bool defaultValue) const
|
|
|