Index: include/core/SkBitmapDevice.h |
diff --git a/include/core/SkBitmapDevice.h b/include/core/SkBitmapDevice.h |
index 03fd014d45addd5845d4d7827454726a67a3331b..dff5e65bc8852cbb50ca3e195a1e3d502df30cc7 100644 |
--- a/include/core/SkBitmapDevice.h |
+++ b/include/core/SkBitmapDevice.h |
@@ -40,6 +40,11 @@ public: |
protected: |
bool onShouldDisableLCD(const SkPaint&) const SK_OVERRIDE; |
+ /** Clears the entire device to the specified color (including alpha). |
+ * Ignores the clip. |
+ */ |
+ virtual void clear(SkColor color) SK_OVERRIDE; |
+ |
/** 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 |