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

Unified Diff: Source/WebCore/platform/graphics/filters/FilterOperations.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/platform/graphics/filters/FilterOperations.cpp
diff --git a/Source/WebCore/platform/graphics/filters/FilterOperations.cpp b/Source/WebCore/platform/graphics/filters/FilterOperations.cpp
index db6594394e37e41d730b907bfa20170fa067609a..b35c3d6f19e9603534c4fee3ef70dd1f0a47e761 100644
--- a/Source/WebCore/platform/graphics/filters/FilterOperations.cpp
+++ b/Source/WebCore/platform/graphics/filters/FilterOperations.cpp
@@ -87,7 +87,6 @@ bool FilterOperations::operationsMatch(const FilterOperations& other) const
return true;
}
-#if ENABLE(CSS_SHADERS)
bool FilterOperations::hasCustomFilter() const
{
for (size_t i = 0; i < m_operations.size(); ++i) {
@@ -97,7 +96,6 @@ bool FilterOperations::hasCustomFilter() const
}
return false;
}
-#endif
bool FilterOperations::hasReferenceFilter() const
{
@@ -144,14 +142,12 @@ FilterOutsets FilterOperations::outsets() const
totalOutsets += outsets;
break;
}
-#if ENABLE(CSS_SHADERS)
case FilterOperation::CUSTOM:
case FilterOperation::VALIDATED_CUSTOM: {
// FIXME: Need to include the filter margins here.
// https://bugs.webkit.org/show_bug.cgi?id=71400
break;
}
-#endif
default:
break;
}

Powered by Google App Engine
This is Rietveld 408576698