Index: src/views/animated/SkStaticTextView.cpp |
diff --git a/src/views/animated/SkStaticTextView.cpp b/src/views/animated/SkStaticTextView.cpp |
index 0e4cad63e5537c170a43fc62dc5944d9d8e8f43e..bbef63dff3df1db9b5935f095ca5879fc18a72f1 100644 |
--- a/src/views/animated/SkStaticTextView.cpp |
+++ b/src/views/animated/SkStaticTextView.cpp |
@@ -125,12 +125,9 @@ void SkStaticTextView::getPaint(SkPaint* paint) const |
void SkStaticTextView::setPaint(const SkPaint& paint) |
{ |
- if (fPaint != paint) |
- { |
- fPaint = paint; |
- this->computeSize(); |
- this->inval(NULL); |
- } |
+ fPaint = paint; |
+ this->computeSize(); |
+ this->inval(NULL); |
} |
void SkStaticTextView::onDraw(SkCanvas* canvas) |