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

Unified Diff: Source/platform/graphics/paint/FilterDisplayItem.h

Issue 880203006: Oilpan: fix build after r189148. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tidy up call site a bit further 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 | « Source/core/paint/FilterPainter.cpp ('k') | Source/platform/graphics/paint/FilterDisplayItem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/paint/FilterDisplayItem.h
diff --git a/Source/platform/graphics/paint/FilterDisplayItem.h b/Source/platform/graphics/paint/FilterDisplayItem.h
index 54965c561d245451bc9d78384524ede5170fdd85..67525e30be4b636b82bc534a019de3491d610761 100644
--- a/Source/platform/graphics/paint/FilterDisplayItem.h
+++ b/Source/platform/graphics/paint/FilterDisplayItem.h
@@ -21,17 +21,24 @@ namespace blink {
class PLATFORM_EXPORT BeginFilterDisplayItem : public DisplayItem {
WTF_MAKE_FAST_ALLOCATED;
public:
- static PassOwnPtr<BeginFilterDisplayItem> create(DisplayItemClient client, Type type, PassRefPtr<ImageFilter> imageFilter, const FilterOperations* filterOperations, const LayoutRect& bounds)
+ static PassOwnPtr<BeginFilterDisplayItem> create(DisplayItemClient client, Type type, PassRefPtr<ImageFilter> imageFilter, const LayoutRect& bounds)
{
- return adoptPtr(new BeginFilterDisplayItem(client, type, imageFilter, filterOperations, bounds));
+ return adoptPtr(new BeginFilterDisplayItem(client, type, imageFilter, bounds));
+ }
+
+ static PassOwnPtr<BeginFilterDisplayItem> create(DisplayItemClient client, Type type, PassRefPtr<ImageFilter> imageFilter, const LayoutRect& bounds, const FilterOperations& filterOperations)
+ {
+ return adoptPtr(new BeginFilterDisplayItem(client, type, imageFilter, bounds, filterOperations));
}
- BeginFilterDisplayItem(DisplayItemClient, Type, PassRefPtr<ImageFilter>, const FilterOperations*, const LayoutRect& bounds);
virtual void replay(GraphicsContext*) override;
virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override;
private:
+ BeginFilterDisplayItem(DisplayItemClient, Type, PassRefPtr<ImageFilter>, const LayoutRect& bounds);
+ BeginFilterDisplayItem(DisplayItemClient, Type, PassRefPtr<ImageFilter>, const LayoutRect& bounds, const FilterOperations&);
+
#ifndef NDEBUG
virtual const char* name() const override { return "BeginFilter"; }
virtual void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override;
« no previous file with comments | « Source/core/paint/FilterPainter.cpp ('k') | Source/platform/graphics/paint/FilterDisplayItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698