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

Unified Diff: Source/WebCore/css/WebKitCSSFilterValue.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/css/WebKitCSSFilterValue.cpp
diff --git a/Source/WebCore/css/WebKitCSSFilterValue.cpp b/Source/WebCore/css/WebKitCSSFilterValue.cpp
index 070efc8d9d2ca3aec904346ace76af0862bbaf6d..91f4039be7d66c78acaa20fdc33ad740edb8a957 100644
--- a/Source/WebCore/css/WebKitCSSFilterValue.cpp
+++ b/Source/WebCore/css/WebKitCSSFilterValue.cpp
@@ -43,12 +43,7 @@ WebKitCSSFilterValue::WebKitCSSFilterValue(FilterOperationType operationType)
bool WebKitCSSFilterValue::typeUsesSpaceSeparator(FilterOperationType operationType)
{
-#if ENABLE(CSS_SHADERS)
return operationType != CustomFilterOperation;
-#else
- UNUSED_PARAM(operationType);
- return true;
-#endif
}
String WebKitCSSFilterValue::customCssText() const
@@ -88,11 +83,9 @@ String WebKitCSSFilterValue::customCssText() const
case DropShadowFilterOperation:
result = "drop-shadow(";
break;
-#if ENABLE(CSS_SHADERS)
case CustomFilterOperation:
result = "custom(";
break;
-#endif
default:
break;
}

Powered by Google App Engine
This is Rietveld 408576698