Index: ui/compositor/layer.h |
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h |
index ab4151f8647079b075a948ce88e564d5f00801e8..3dbd1733b0b2982eacc194383e25f1dcc12a441e 100644 |
--- a/ui/compositor/layer.h |
+++ b/ui/compositor/layer.h |
@@ -362,11 +362,6 @@ class COMPOSITOR_EXPORT Layer |
void SetForceRenderSurface(bool force); |
bool force_render_surface() const { return force_render_surface_; } |
- // TODO(danakj): Plumb this to the LayerDelegate::OnPaintLayer instead of |
- // providing it here. For more win, use the full damage region instead of a |
- // bounding rect. |
- gfx::Rect PaintRect() const; |
- |
// LayerClient |
scoped_refptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo() |
override; |
@@ -534,9 +529,6 @@ class COMPOSITOR_EXPORT Layer |
// or SetTextureMailbox was called. |
gfx::Size frame_size_in_dip_; |
- bool inside_paint_; |
- gfx::Rect paint_rect_; |
- |
DISALLOW_COPY_AND_ASSIGN(Layer); |
}; |