Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(606)

Unified Diff: Source/core/dom/Document.cpp

Issue 14178009: Remove CSS_REGIONS compile flag from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rework patch after https://codereview.chromium.org/14324009 Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 115ff18a9db04b14218dfc8b9ede21dfe1dd9d6d..83ceca106b7aff1ed4ca9993a0980a6edabf4fec 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -1111,8 +1111,6 @@ bool Document::cssGridLayoutEnabled() const
return settings() && settings()->cssGridLayoutEnabled();
}
-#if ENABLE(CSS_REGIONS)
-
PassRefPtr<DOMNamedFlowCollection> Document::webkitGetNamedFlows()
{
if (!cssRegionsEnabled() || !renderer())
@@ -1123,8 +1121,6 @@ PassRefPtr<DOMNamedFlowCollection> Document::webkitGetNamedFlows()
return namedFlows()->createCSSOMSnapshot();
}
-#endif
-
NamedFlowCollection* Document::namedFlows()
{
if (!m_namedFlows)

Powered by Google App Engine
This is Rietveld 408576698