Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Unified Diff: skia/ext/analysis_canvas.h

Issue 416333003: Revert of skia/ext: Early out from analysis when we have more than 1 draw op. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | skia/ext/analysis_canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/analysis_canvas.h
diff --git a/skia/ext/analysis_canvas.h b/skia/ext/analysis_canvas.h
index 475947d75ab52968689ac5a03a3b7b9e34869513..b3e5275c0432dee64385b17f2c4d0e816a762516 100644
--- a/skia/ext/analysis_canvas.h
+++ b/skia/ext/analysis_canvas.h
@@ -22,6 +22,7 @@
// Returns true when a SkColor can be used to represent result.
bool GetColorIfSolid(SkColor* color) const;
+ bool HasText() const;
void SetForceNotSolid(bool flag);
void SetForceNotTransparent(bool flag);
@@ -120,7 +121,7 @@
bool is_solid_color_;
SkColor color_;
bool is_transparent_;
- int draw_op_count_;
+ bool has_text_;
};
} // namespace skia
« no previous file with comments | « no previous file | skia/ext/analysis_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698