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

Unified Diff: views/layer_helper.h

Issue 7845033: Rework View Layer Draw() to use the Layer::DrawTree() method and the LayerDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: views/layer_helper.h
===================================================================
--- views/layer_helper.h (revision 100773)
+++ views/layer_helper.h (working copy)
@@ -42,14 +42,6 @@
}
const gfx::Rect& clip_rect() const { return clip_rect_; }
- // If true, the layer's bitmap is out of date and needs to be updated.
- void set_bitmap_needs_updating(bool value) {
- bitmap_needs_updating_ = value;
- }
- bool bitmap_needs_updating() const {
- return bitmap_needs_updating_;
- }
-
// If true the layer was explicitly turned on.
void set_paint_to_layer(bool value) { paint_to_layer_ = value; }
bool paint_to_layer() const { return paint_to_layer_; }
@@ -100,9 +92,6 @@
// TODO(sky): this should be passed into paint.
gfx::Rect clip_rect_;
- // Is the layers bitmap out of date?
- bool bitmap_needs_updating_;
-
bool fills_bounds_opaquely_;
// If true the bitmap is always up to date.

Powered by Google App Engine
This is Rietveld 408576698