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:
parent
0937335e6b
commit
e629c7bc9f
@ -148,7 +148,7 @@ protected:
|
||||
int y,
|
||||
SkCanvas::Config8888) SK_OVERRIDE;
|
||||
|
||||
virtual bool allowImageFilter(SkImageFilter*) SK_OVERRIDE;
|
||||
virtual bool allowImageFilter(const SkImageFilter*) SK_OVERRIDE;
|
||||
|
||||
private:
|
||||
class TypefaceUse : ::SkNoncopyable {
|
||||
|
@ -2453,6 +2453,6 @@ SkXPSDevice::SkXPSDevice(IXpsOMObjectFactory* xpsFactory)
|
||||
"Could not create canvas for layer.");
|
||||
}
|
||||
|
||||
bool SkXPSDevice::allowImageFilter(SkImageFilter*) {
|
||||
bool SkXPSDevice::allowImageFilter(const SkImageFilter*) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user