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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerFilterInfo.cpp

Issue 2349183002: Turn FilterEffectBuilder into a stack-allocated helper (Closed)
Patch Set: 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/paint/PaintLayerFilterInfo.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerFilterInfo.cpp b/third_party/WebKit/Source/core/paint/PaintLayerFilterInfo.cpp
index e6b0ff68cc37a5d7e73649263076f6173dc02453..52b970ed134527177d2618e8796afe12b2c56c2d 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerFilterInfo.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerFilterInfo.cpp
@@ -29,8 +29,8 @@
#include "core/paint/PaintLayerFilterInfo.h"
-#include "core/paint/FilterEffectBuilder.h"
#include "core/paint/PaintLayer.h"
+#include "platform/graphics/filters/FilterEffect.h"
#include "platform/graphics/filters/FilterOperations.h"
namespace blink {
@@ -42,9 +42,9 @@ PaintLayerFilterInfo::~PaintLayerFilterInfo()
DCHECK(!m_layer);
}
-void PaintLayerFilterInfo::setBuilder(FilterEffectBuilder* builder)
+void PaintLayerFilterInfo::setLastEffect(FilterEffect* lastEffect)
{
- m_builder = builder;
+ m_lastEffect = lastEffect;
}
void PaintLayerFilterInfo::updateReferenceFilterClients(const FilterOperations& operations)
@@ -61,7 +61,7 @@ void PaintLayerFilterInfo::filterNeedsInvalidation()
DEFINE_TRACE(PaintLayerFilterInfo)
{
- visitor->trace(m_builder);
+ visitor->trace(m_lastEffect);
SVGResourceClient::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698