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

Unified Diff: Source/WebCore/bindings/v8/custom/V8CSSRuleCustom.cpp

Issue 13839016: Remove CSS_SHADERS compile-time flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/WebCore/bindings/v8/custom/V8CSSRuleCustom.cpp
diff --git a/Source/WebCore/bindings/v8/custom/V8CSSRuleCustom.cpp b/Source/WebCore/bindings/v8/custom/V8CSSRuleCustom.cpp
index 4e880ec410ae71eb8c04b21e3223cdc3b5de0fc2..a43b3347997f980ef7f226ab959d5d2f4f04b0dd 100644
--- a/Source/WebCore/bindings/v8/custom/V8CSSRuleCustom.cpp
+++ b/Source/WebCore/bindings/v8/custom/V8CSSRuleCustom.cpp
@@ -41,9 +41,7 @@
#if ENABLE(CSS3_CONDITIONAL_RULES)
#include "V8CSSSupportsRule.h"
#endif
-#if ENABLE(CSS_SHADERS)
#include "V8WebKitCSSFilterRule.h"
-#endif
#include "V8WebKitCSSKeyframeRule.h"
#include "V8WebKitCSSKeyframesRule.h"
#include "V8WebKitCSSRegionRule.h"
@@ -93,10 +91,8 @@ v8::Handle<v8::Object> wrap(CSSRule* impl, v8::Handle<v8::Object> creationContex
case CSSRule::HOST_RULE:
return wrap(static_cast<CSSHostRule*>(impl), creationContext, isolate);
#endif
-#if ENABLE(CSS_SHADERS)
case CSSRule::WEBKIT_FILTER_RULE:
return wrap(static_cast<WebKitCSSFilterRule*>(impl), creationContext, isolate);
-#endif
}
return V8CSSRule::createWrapper(impl, creationContext, isolate);
}

Powered by Google App Engine
This is Rietveld 408576698