Index: third_party/WebKit/Source/core/dom/ContextFeatures.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ContextFeatures.cpp b/third_party/WebKit/Source/core/dom/ContextFeatures.cpp |
index fb2879668ea42c51e5bc71169d3db903bb24f71d..42b1bc2a3fe5be56d8a6b709dafe269525429fa0 100644 |
--- a/third_party/WebKit/Source/core/dom/ContextFeatures.cpp |
+++ b/third_party/WebKit/Source/core/dom/ContextFeatures.cpp |
@@ -65,12 +65,12 @@ bool ContextFeatures::mutationEventsEnabled(Document* document) |
void provideContextFeaturesTo(Page& page, PassOwnPtr<ContextFeaturesClient> client) |
{ |
- ContextFeatures::SupplementType::provideTo(page, ContextFeatures::supplementName(), ContextFeatures::create(client)); |
+ Supplement<Page>::provideTo(page, ContextFeatures::supplementName(), ContextFeatures::create(client)); |
} |
void provideContextFeaturesToDocumentFrom(Document& document, Page& page) |
{ |
- ContextFeatures* provided = static_cast<ContextFeatures*>(ContextFeatures::SupplementType::from(page, ContextFeatures::supplementName())); |
+ ContextFeatures* provided = static_cast<ContextFeatures*>(Supplement<Page>::from(page, ContextFeatures::supplementName())); |
if (!provided) |
return; |
document.setContextFeatures(*provided); |