Index: Source/web/ContextFeaturesClientImpl.h |
diff --git a/Source/web/ContextFeaturesClientImpl.h b/Source/web/ContextFeaturesClientImpl.h |
index cc7d26460b5023aad3158247e653514da5d186fb..d0635601e9c3a5454b1c38e67592408a1d42da89 100644 |
--- a/Source/web/ContextFeaturesClientImpl.h |
+++ b/Source/web/ContextFeaturesClientImpl.h |
@@ -37,12 +37,17 @@ namespace blink { |
class ContextFeaturesClientImpl FINAL : public WebCore::ContextFeaturesClient { |
public: |
- ContextFeaturesClientImpl() { } |
+ static PassOwnPtr<ContextFeaturesClientImpl> create() |
+ { |
+ return adoptPtr(new ContextFeaturesClientImpl()); |
+ } |
virtual bool isEnabled(WebCore::Document*, WebCore::ContextFeatures::FeatureType, bool defaultValue) OVERRIDE; |
virtual void urlDidChange(WebCore::Document*) OVERRIDE; |
private: |
+ ContextFeaturesClientImpl() { } |
+ |
bool askIfIsEnabled(WebCore::Document*, WebCore::ContextFeatures::FeatureType, bool defaultValue); |
}; |