Index: skia/ext/analysis_canvas.cc |
diff --git a/skia/ext/analysis_canvas.cc b/skia/ext/analysis_canvas.cc |
index 48a09d11f535f01cb4c39b6766f40e9f2f45af00..17e8390e5e06bf9d0ed7604b70ce298b03156207 100644 |
--- a/skia/ext/analysis_canvas.cc |
+++ b/skia/ext/analysis_canvas.cc |
@@ -95,17 +95,6 @@ void AnalysisCanvas::SetForceNotTransparent(bool flag) { |
is_transparent_ = false; |
} |
-void AnalysisCanvas::clear(SkColor color) { |
- is_transparent_ = (!is_forced_not_transparent_ && SkColorGetA(color) == 0); |
- |
- if (!is_forced_not_solid_ && SkColorGetA(color) == 255) { |
- is_solid_color_ = true; |
- color_ = color; |
- } else { |
- is_solid_color_ = false; |
- } |
-} |
- |
void AnalysisCanvas::drawPaint(const SkPaint& paint) { |
SkRect rect; |
getClipBounds(&rect); |