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

Unified Diff: cc/resources/picture_pile.h

Issue 519583003: Use the solid color detection to create solid layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final merge Created 6 years, 3 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 | « cc/layers/solid_color_layer_impl.cc ('k') | cc/resources/picture_pile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_pile.h
diff --git a/cc/resources/picture_pile.h b/cc/resources/picture_pile.h
index 87ea4876bdbb7660f9795efeca3ae71eb4740cf0..0e8dca68b198b7f9cdef39d3e73059818fb995fc 100644
--- a/cc/resources/picture_pile.h
+++ b/cc/resources/picture_pile.h
@@ -51,9 +51,6 @@ class CC_EXPORT PicturePile : public PicturePileBase {
is_suitable_for_gpu_rasterization_ = false;
}
- bool IsSolidColor() const { return is_solid_color_; }
- SkColor GetSolidColor() const { return solid_color_; }
-
protected:
virtual ~PicturePile();
@@ -63,8 +60,6 @@ class CC_EXPORT PicturePile : public PicturePileBase {
void DetermineIfSolidColor();
bool is_suitable_for_gpu_rasterization_;
- bool is_solid_color_;
- SkColor solid_color_;
DISALLOW_COPY_AND_ASSIGN(PicturePile);
};
« no previous file with comments | « cc/layers/solid_color_layer_impl.cc ('k') | cc/resources/picture_pile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698