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

Unified Diff: src/core/SkDeviceImageFilterProxy.h

Issue 1012113002: imagefilters always need to disable lcd (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkDeviceImageFilterProxy.h
diff --git a/src/core/SkDeviceImageFilterProxy.h b/src/core/SkDeviceImageFilterProxy.h
index 11a95ff31fff0ed4feaa82e8124392569d89d681..909e60d2df4656b30942c936e96ae079c04df4d7 100644
--- a/src/core/SkDeviceImageFilterProxy.h
+++ b/src/core/SkDeviceImageFilterProxy.h
@@ -16,10 +16,7 @@ class SkDeviceImageFilterProxy : public SkImageFilter::Proxy {
public:
SkDeviceImageFilterProxy(SkBaseDevice* device, const SkSurfaceProps& props)
: fDevice(device)
- , fProps(props.flags(),
- SkBaseDevice::CreateInfo::AdjustGeometry(SkImageInfo(),
- SkBaseDevice::kPossible_TileUsage,
- props.pixelGeometry()))
+ , fProps(props.flags(), kUnknown_SkPixelGeometry)
{}
SkBaseDevice* createDevice(int w, int h) SK_OVERRIDE {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698