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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.h

Issue 1961083006: Don't store an SkPicture in the SourceGraphic FilterEffect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop clearResult call in addAbsolutePaintRect Created 4 years, 7 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/filters/SourceGraphic.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.h b/third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.h
index 63dd82d9585e15e85ba22bcc89a2ae12a9758f08..07491abf48ac309137a6a4c322b68a3331f007f1 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/SourceGraphic.h
@@ -25,8 +25,6 @@
#include "platform/geometry/IntRect.h"
#include "platform/graphics/filters/FilterEffect.h"
-class SkPicture;
-
namespace blink {
class PLATFORM_EXPORT SourceGraphic final : public FilterEffect {
@@ -39,15 +37,12 @@ public:
FilterEffectType getFilterEffectType() const override { return FilterEffectTypeSourceInput; }
TextStream& externalRepresentation(TextStream&, int indention) const override;
- sk_sp<SkImageFilter> createImageFilter() override;
- void setPicture(sk_sp<SkPicture>);
void setSourceRect(const IntRect&);
private:
explicit SourceGraphic(Filter*);
- sk_sp<SkPicture> m_picture;
IntRect m_sourceRect;
};

Powered by Google App Engine
This is Rietveld 408576698