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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp

Issue 2335253002: Push CompositorFilterOperations creation out of GraphicsLayer (Closed)
Patch Set: The right FilterOperations Created 4 years, 3 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: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index 2195dd2dd6621e590f95d99727aba23516cab2d1..fe0fb5bd5535bb8236d9e01db0d375318a3b8953 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -64,6 +64,7 @@
#include "platform/fonts/FontCache.h"
#include "platform/geometry/TransformState.h"
#include "platform/graphics/BitmapImage.h"
+#include "platform/graphics/CompositorFilterOperations.h"
#include "platform/graphics/CompositorMutableProperties.h"
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/paint/ClipDisplayItem.h"
@@ -274,12 +275,12 @@ void CompositedLayerMapping::updateTransform(const ComputedStyle& style)
void CompositedLayerMapping::updateFilters(const ComputedStyle& style)
{
- m_graphicsLayer->setFilters(owningLayer().computeFilterOperations(style));
+ m_graphicsLayer->setFilters(owningLayer().createCompositorFilterOperationsForFilter(style));
}
void CompositedLayerMapping::updateBackdropFilters(const ComputedStyle& style)
{
- m_graphicsLayer->setBackdropFilters(owningLayer().computeBackdropFilterOperations(style));
+ m_graphicsLayer->setBackdropFilters(owningLayer().createCompositorFilterOperationsForBackdropFilter(style));
}
void CompositedLayerMapping::updateLayerBlendMode(const ComputedStyle& style)

Powered by Google App Engine
This is Rietveld 408576698