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

Unified Diff: sky/engine/platform/graphics/filters/FilterOperations.cpp

Issue 943333005: Remove some dead filters related code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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: sky/engine/platform/graphics/filters/FilterOperations.cpp
diff --git a/sky/engine/platform/graphics/filters/FilterOperations.cpp b/sky/engine/platform/graphics/filters/FilterOperations.cpp
index e393c5bf0ebbaa6129d16b7e58d896df751ca754..4f6acb7c2dbdddeae15d5867004e369dcf1cd690 100644
--- a/sky/engine/platform/graphics/filters/FilterOperations.cpp
+++ b/sky/engine/platform/graphics/filters/FilterOperations.cpp
@@ -97,16 +97,6 @@ bool FilterOperations::hasReferenceFilter() const
return false;
}
-bool FilterOperations::hasOutsets() const
-{
- for (size_t i = 0; i < m_operations.size(); ++i) {
- FilterOperation::OperationType operationType = m_operations.at(i)->type();
- if (operationType == FilterOperation::BLUR || operationType == FilterOperation::DROP_SHADOW || operationType == FilterOperation::REFERENCE)
- return true;
- }
- return false;
-}
-
FilterOutsets FilterOperations::outsets() const
{
FilterOutsets totalOutsets;
« no previous file with comments | « sky/engine/platform/graphics/filters/FilterOperations.h ('k') | sky/engine/platform/graphics/filters/FilterOperationsTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698