Index: skia/ext/analysis_canvas.cc |
=================================================================== |
--- skia/ext/analysis_canvas.cc (revision 205297) |
+++ skia/ext/analysis_canvas.cc (working copy) |
@@ -122,8 +122,7 @@ |
} |
void AnalysisDevice::drawPaint(const SkDraw&, const SkPaint& paint) { |
- isSolidColor_ = |
- (isSolidColor_ && isSolidColorPaint(paint) && paint.getColor() == color_); |
+ isSolidColor_ = false; |
isTransparent_ = false; |
} |
@@ -168,12 +167,9 @@ |
// - We're not in "forced not solid" mode |
// - Paint is solid color |
// - The quad is a full tile quad |
- // - The exception is if the tile is already solid tile, |
- // and we're drawing the same solid color paint then |
- // the tile remains solid. |
if (!isForcedNotSolid_ && |
isSolidColorPaint(paint) && |
- (doesCoverCanvas || (isSolidColor_ && paint.getColor() == color_))) { |
+ doesCoverCanvas) { |
isSolidColor_ = true; |
color_ = paint.getColor(); |
hasText_ = false; |