rename SkDevice::eraseColor to clear and make virtual.
Properly flush in GrContext before calling GrGpu::clear()
Review URL: http://codereview.appspot.com/4419043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1130 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/include/GrContext.h b/gpu/include/GrContext.h
index 7b6803c..5eda2b7 100644
--- a/gpu/include/GrContext.h
+++ b/gpu/include/GrContext.h
@@ -283,9 +283,9 @@
// Draws
/**
- * Erase the entire render target, ignoring any clips
+ * Clear the entire render target, ignoring any clips
*/
- void eraseColor(GrColor color);
+ void clear(GrColor color);
/**
* Draw everywhere (respecting the clip) with the paint.