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

Unified Diff: Source/core/css/WebKitCSSRegionRule.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.h ('k') | Source/core/css/WebKitCSSRegionRule.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/WebKitCSSRegionRule.cpp
diff --git a/Source/core/css/WebKitCSSRegionRule.cpp b/Source/core/css/WebKitCSSRegionRule.cpp
index 9b0da93f0823981d407d73d55fe35f81ed4de176..704c912adedd51b53d39a9736b10d02494025ca9 100644
--- a/Source/core/css/WebKitCSSRegionRule.cpp
+++ b/Source/core/css/WebKitCSSRegionRule.cpp
@@ -32,18 +32,18 @@
#include "core/css/WebKitCSSRegionRule.h"
+#include "RuntimeEnabledFeatures.h"
#include "core/css/CSSParser.h"
#include "core/css/CSSRuleList.h"
#include "core/css/StyleRule.h"
#include <wtf/MemoryInstrumentationVector.h>
#include <wtf/text/StringBuilder.h>
-#if ENABLE(CSS_REGIONS)
-
namespace WebCore {
WebKitCSSRegionRule::WebKitCSSRegionRule(StyleRuleRegion* regionRule, CSSStyleSheet* parent)
: CSSGroupingRule(regionRule, parent)
{
+ ASSERT(RuntimeEnabledFeatures::cssRegionsEnabled());
}
String WebKitCSSRegionRule::cssText() const
@@ -62,5 +62,3 @@ String WebKitCSSRegionRule::cssText() const
}
} // namespace WebCore
-
-#endif
« no previous file with comments | « Source/core/css/WebKitCSSRegionRule.h ('k') | Source/core/css/WebKitCSSRegionRule.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698