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

Unified Diff: cc/resources/layer_tiling_data.h

Issue 565043002: cc: Remove the opaque rect return-parameter from ContentLayerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/resources/layer_painter.h ('k') | cc/resources/layer_tiling_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « cc/resources/layer_painter.h ('k') | cc/resources/layer_tiling_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698