| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index e5fb9d1ba1cad97415af88843fd382318160bd0d..696b70ac77128791158bfbd210d9542352cb237c 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -1087,11 +1087,6 @@ bool Document::cssStickyPositionEnabled() const
|
| return settings() && settings()->cssStickyPositionEnabled();
|
| }
|
|
|
| -bool Document::cssRegionsEnabled() const
|
| -{
|
| - return RuntimeEnabledFeatures::cssRegionsEnabled();
|
| -}
|
| -
|
| bool Document::cssCompositingEnabled() const
|
| {
|
| return RuntimeEnabledFeatures::cssCompositingEnabled();
|
| @@ -1102,11 +1097,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();
|
| @@ -1114,8 +1107,6 @@ PassRefPtr<DOMNamedFlowCollection> Document::webkitGetNamedFlows()
|
| return namedFlows()->createCSSOMSnapshot();
|
| }
|
|
|
| -#endif
|
| -
|
| NamedFlowCollection* Document::namedFlows()
|
| {
|
| if (!m_namedFlows)
|
|
|