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

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

Issue 856563006: Remove background obscuration checks. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/platform/graphics/filters/FilterOperations.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 be17fa26e71e6eed81b352eded045614823bdc6d..e393c5bf0ebbaa6129d16b7e58d896df751ca754 100644
--- a/sky/engine/platform/graphics/filters/FilterOperations.cpp
+++ b/sky/engine/platform/graphics/filters/FilterOperations.cpp
@@ -155,14 +155,6 @@ FilterOutsets FilterOperations::outsets() const
return totalOutsets;
}
-bool FilterOperations::hasFilterThatAffectsOpacity() const
-{
- for (size_t i = 0; i < m_operations.size(); ++i)
- if (m_operations[i]->affectsOpacity())
- return true;
- return false;
-}
-
bool FilterOperations::hasFilterThatMovesPixels() const
{
for (size_t i = 0; i < m_operations.size(); ++i)
« no previous file with comments | « sky/engine/platform/graphics/filters/FilterOperations.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698