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

Unified Diff: cc/output/render_surface_filters.h

Issue 317663005: Scale the ALPHA_THRESHOLD filter's region based on the device scale factor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use SkMatrix when creating AlphaFilter Created 6 years, 5 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: cc/output/render_surface_filters.h
diff --git a/cc/output/render_surface_filters.h b/cc/output/render_surface_filters.h
index 42b6e451501412ed46bbedd28f444eb7b3743884..4520db8992da1e799a00434cbd7f17e67e7db21f 100644
--- a/cc/output/render_surface_filters.h
+++ b/cc/output/render_surface_filters.h
@@ -16,6 +16,7 @@ class SkImageFilter;
namespace gfx {
class SizeF;
+class Vector2dF;
}
namespace cc {
@@ -32,6 +33,7 @@ class CC_EXPORT RenderSurfaceFilters {
static skia::RefPtr<SkImageFilter> BuildImageFilter(
const FilterOperations& filters,
+ const gfx::Vector2dF& scale,
const gfx::SizeF& size);
private:

Powered by Google App Engine
This is Rietveld 408576698