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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.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/SkiaImageFilterBuilder.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h b/third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
index def22c455f92e2e32ade0c51f374593440c5eed0..ba4b88ce806c3895c77b19749bcbdde42680e59f 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
@@ -31,6 +31,7 @@
#include "third_party/skia/include/core/SkRefCnt.h"
class SkImageFilter;
+class SkPicture;
namespace blink {
@@ -50,6 +51,8 @@ PLATFORM_EXPORT sk_sp<SkImageFilter> buildTransform(const AffineTransform&, sk_s
PLATFORM_EXPORT sk_sp<SkImageFilter> transformColorSpace(
sk_sp<SkImageFilter> input, ColorSpace srcColorSpace, ColorSpace dstColorSpace);
+PLATFORM_EXPORT void buildSourceGraphic(FilterEffect*, sk_sp<SkPicture>);
+
PLATFORM_EXPORT sk_sp<SkImageFilter> buildBoxReflectFilter(const BoxReflection&, sk_sp<SkImageFilter> input);
} // namespace SkiaImageFilterBuilder

Powered by Google App Engine
This is Rietveld 408576698