clear() is now an alias for drawPaint, so remove its virtual
Needs these to land first: https://codereview.chromium.org/733343005 https://codereview.chromium.org/777413004 BUG=skia: Review URL: https://codereview.chromium.org/780393002
This commit is contained in:
parent
28f9c606e4
commit
f4e0d9eb2d
@ -621,8 +621,11 @@ public:
|
||||
*/
|
||||
void drawColor(SkColor color, SkXfermode::Mode mode = SkXfermode::kSrcOver_Mode);
|
||||
|
||||
// TODO: remove virtual when chrome subclass stop overriding this.
|
||||
virtual void clear(SkColor color) {
|
||||
/**
|
||||
* Helper method for drawing a color in SRC mode, completely replacing all the pixels
|
||||
* in the current clip with this color.
|
||||
*/
|
||||
void clear(SkColor color) {
|
||||
this->drawColor(color, SkXfermode::kSrc_Mode);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user