Chromium Code Reviews| Index: cc/resources/layer_tiling_data.h |
| diff --git a/cc/resources/layer_tiling_data.h b/cc/resources/layer_tiling_data.h |
| index dd0d43a949dcc4aa60e29371143eb1fbf2ef2d3a..b369d611291ac4060cadfd2a9a18777441a2f004 100644 |
| --- a/cc/resources/layer_tiling_data.h |
| +++ b/cc/resources/layer_tiling_data.h |
| @@ -63,14 +63,9 @@ class CC_EXPORT LayerTilingData { |
| j_ = j; |
| } |
| - gfx::Rect opaque_rect() const { return opaque_rect_; } |
| - void set_opaque_rect(const gfx::Rect& opaque_rect) { |
| - opaque_rect_ = opaque_rect; |
| - } |
| private: |
| int i_; |
| int j_; |
| - gfx::Rect opaque_rect_; |
|
danakj
2014/09/12 15:57:24
This is Tile::opaque_rect, is there another one I'
vmpstr
2014/09/12 15:58:40
I mean cc/resources/tile.h
danakj
2014/09/12 16:04:22
Hm, thanks, didn't know that's there. But that's i
danakj
2014/09/12 16:57:11
Good call!! Removed!
|
| DISALLOW_COPY_AND_ASSIGN(Tile); |
| }; |
| typedef std::pair<int, int> TileMapKey; |
| @@ -91,8 +86,6 @@ class CC_EXPORT LayerTilingData { |
| int* bottom) const; |
| gfx::Rect TileRect(const Tile* tile) const; |
| - SimpleEnclosedRegion OpaqueRegionInContentRect(const gfx::Rect& rect) const; |
| - |
| void reset() { tiles_.clear(); } |
| protected: |