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

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

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Fix copyrights and years. Created 4 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: third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h
index bc0006487224e26c8cd182fadb824587efe7e88e..1e7b71b62295813f96773fbddf7b5a273ce34903 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h
@@ -6,8 +6,8 @@
#define FilterDisplayItem_h
#include "platform/geometry/FloatRect.h"
+#include "platform/graphics/CompositorFilterOperations.h"
#include "platform/graphics/paint/DisplayItem.h"
-#include "public/platform/WebFilterOperations.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
#ifndef NDEBUG
@@ -18,7 +18,7 @@ namespace blink {
class PLATFORM_EXPORT BeginFilterDisplayItem final : public PairedBeginDisplayItem {
public:
- BeginFilterDisplayItem(const DisplayItemClient& client, PassRefPtr<SkImageFilter> imageFilter, const FloatRect& bounds, PassOwnPtr<WebFilterOperations> filterOperations = nullptr)
+ BeginFilterDisplayItem(const DisplayItemClient& client, PassRefPtr<SkImageFilter> imageFilter, const FloatRect& bounds, PassOwnPtr<CompositorFilterOperations> filterOperations = nullptr)
: PairedBeginDisplayItem(client, BeginFilter, sizeof(*this))
, m_imageFilter(imageFilter)
, m_webFilterOperations(std::move(filterOperations))
@@ -43,7 +43,7 @@ private:
// FIXME: m_imageFilter should be replaced with m_webFilterOperations when copying data to the compositor.
RefPtr<SkImageFilter> m_imageFilter;
- OwnPtr<WebFilterOperations> m_webFilterOperations;
+ OwnPtr<CompositorFilterOperations> m_webFilterOperations;
const FloatRect m_bounds;
};

Powered by Google App Engine
This is Rietveld 408576698