remove dead SK_SUPPORT_LEGACY_DEVICE_CLEAR code
BUG=skia: TBR=robertphilips@google.com Review URL: https://codereview.chromium.org/807083003
This commit is contained in:
parent
ca32da7533
commit
ec57b54ac7
@ -161,16 +161,6 @@ protected:
|
||||
virtual void setMatrixClip(const SkMatrix&, const SkRegion&,
|
||||
const SkClipStack&) {};
|
||||
|
||||
#ifdef SK_SUPPORT_LEGACY_DEVICE_CLEAR
|
||||
private:
|
||||
/** Clears the entire device to the specified color (including alpha).
|
||||
* Ignores the clip.
|
||||
* DEPRECATED : will go away when chrome subclasses have been updated
|
||||
*/
|
||||
virtual void clear(SkColor color);
|
||||
public:
|
||||
#endif
|
||||
|
||||
/** These are called inside the per-device-layer loop for each draw call.
|
||||
When these are called, we have already applied any saveLayer operations,
|
||||
and are handling any looping from the paint, and any effects from the
|
||||
|
@ -90,13 +90,6 @@ SkSurface* SkBaseDevice::newSurface(const SkImageInfo&, const SkSurfaceProps&) {
|
||||
|
||||
const void* SkBaseDevice::peekPixels(SkImageInfo*, size_t*) { return NULL; }
|
||||
|
||||
#ifdef SK_SUPPORT_LEGACY_DEVICE_CLEAR
|
||||
// DEPRECATED : remove when chrome subclass have been updated to not override clear()
|
||||
void SkBaseDevice::clear(SkColor color) {
|
||||
SkFAIL("SkDevice::clear() should not be called");
|
||||
}
|
||||
#endif
|
||||
|
||||
void SkBaseDevice::drawDRRect(const SkDraw& draw, const SkRRect& outer,
|
||||
const SkRRect& inner, const SkPaint& paint) {
|
||||
SkPath path;
|
||||
|
Loading…
Reference in New Issue
Block a user