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

Unified Diff: cc/resources/picture.h

Issue 494503002: Expose IsSolidColor and write units tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a mac specific build break Created 6 years, 4 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 | cc/resources/picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture.h
diff --git a/cc/resources/picture.h b/cc/resources/picture.h
index e44f944c3a0dd14043182c71b04ea17f32d4a5fd..b7bcf3b7da4870fbfc1f15ab0d49354c52badec5 100644
--- a/cc/resources/picture.h
+++ b/cc/resources/picture.h
@@ -69,6 +69,7 @@ class CC_EXPORT Picture
bool HasRecording() const { return picture_.get() != NULL; }
bool IsSuitableForGpuRasterization() const;
+ int ApproximateOpCount() const;
bool HasText() const;
« no previous file with comments | « no previous file | cc/resources/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698