Fix SkXPSDevice

Make SkImageFilter parameter for SkXPSDevice::allowImageFilter const to match
the SkBitmapDevice base class.

BUG=skia:2097
R=senorblanco@chromium.org

Review URL: https://codereview.chromium.org/156213002

git-svn-id: http://skia.googlecode.com/svn/trunk@13333 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
senorblanco@chromium.org 2014-02-05 23:23:39 +00:00
parent 0937335e6b
commit e629c7bc9f
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ protected:
int y, int y,
SkCanvas::Config8888) SK_OVERRIDE; SkCanvas::Config8888) SK_OVERRIDE;
virtual bool allowImageFilter(SkImageFilter*) SK_OVERRIDE; virtual bool allowImageFilter(const SkImageFilter*) SK_OVERRIDE;
private: private:
class TypefaceUse : ::SkNoncopyable { class TypefaceUse : ::SkNoncopyable {

View File

@ -2453,6 +2453,6 @@ SkXPSDevice::SkXPSDevice(IXpsOMObjectFactory* xpsFactory)
"Could not create canvas for layer."); "Could not create canvas for layer.");
} }
bool SkXPSDevice::allowImageFilter(SkImageFilter*) { bool SkXPSDevice::allowImageFilter(const SkImageFilter*) {
return false; return false;
} }