| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 66f0cf4d37d7d4640ffcd7f51710b07c0cedc3af..19644ce4102d7ecd46e2777c36551dcc019daeb4 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -1098,11 +1098,6 @@ bool Document::cssStickyPositionEnabled() const
|
| return settings() && settings()->cssStickyPositionEnabled();
|
| }
|
|
|
| -bool Document::cssRegionsEnabled() const
|
| -{
|
| - return RuntimeEnabledFeatures::cssRegionsEnabled();
|
| -}
|
| -
|
| bool Document::cssCompositingEnabled() const
|
| {
|
| return RuntimeEnabledFeatures::cssCompositingEnabled();
|
| @@ -1113,11 +1108,9 @@ bool Document::cssGridLayoutEnabled() const
|
| return settings() && settings()->cssGridLayoutEnabled();
|
| }
|
|
|
| -#if ENABLE(CSS_REGIONS)
|
| -
|
| PassRefPtr<DOMNamedFlowCollection> Document::webkitGetNamedFlows()
|
| {
|
| - if (!cssRegionsEnabled() || !renderer())
|
| + if (!RuntimeEnabledFeatures::cssRegionsEnabled() || !renderer())
|
| return 0;
|
|
|
| updateStyleIfNeeded();
|
| @@ -1125,8 +1118,6 @@ PassRefPtr<DOMNamedFlowCollection> Document::webkitGetNamedFlows()
|
| return namedFlows()->createCSSOMSnapshot();
|
| }
|
|
|
| -#endif
|
| -
|
| NamedFlowCollection* Document::namedFlows()
|
| {
|
| if (!m_namedFlows)
|
|
|