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

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

Issue 14178009: Remove CSS_REGIONS compile flag from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: New version 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
« no previous file with comments | « Source/core/css/WebKitCSSRegionRule.idl ('k') | Source/core/dom/DOMNamedFlowCollection.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMNamedFlowCollection.cpp
diff --git a/Source/core/dom/DOMNamedFlowCollection.cpp b/Source/core/dom/DOMNamedFlowCollection.cpp
index f24a104fabeba3102ba8decb87f94f56909bb775..b8821207305c71f3de9e914094ec658536ac1fde 100644
--- a/Source/core/dom/DOMNamedFlowCollection.cpp
+++ b/Source/core/dom/DOMNamedFlowCollection.cpp
@@ -29,6 +29,7 @@
#include "config.h"
#include "core/dom/DOMNamedFlowCollection.h"
+#include "RuntimeEnabledFeatures.h"
#include "core/dom/NamedFlow.h"
#include "core/dom/NamedFlowCollection.h"
@@ -36,6 +37,7 @@ namespace WebCore {
DOMNamedFlowCollection::DOMNamedFlowCollection(const Vector<NamedFlow*>& namedFlows)
{
+ ASSERT(RuntimeEnabledFeatures::cssRegionsEnabled());
for (Vector<NamedFlow*>::const_iterator it = namedFlows.begin(); it != namedFlows.end(); ++it)
m_namedFlows.add(*it);
}
« no previous file with comments | « Source/core/css/WebKitCSSRegionRule.idl ('k') | Source/core/dom/DOMNamedFlowCollection.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698