diff options
author | vmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-21 10:01:30 +0000 |
---|---|---|
committer | vmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-21 10:01:30 +0000 |
commit | 3802fd951fdea641eea685d8cdcce2e8d964828c (patch) | |
tree | 47830c57febb9f06159b3b71b9bdc4b3ae6111e8 /cc/resources/tile.h | |
parent | caa0bc03529d484f7924836180b2ebda58c88cd3 (diff) | |
download | chromium_src-3802fd951fdea641eea685d8cdcce2e8d964828c.zip chromium_src-3802fd951fdea641eea685d8cdcce2e8d964828c.tar.gz chromium_src-3802fd951fdea641eea685d8cdcce2e8d964828c.tar.bz2 |
cc: Renamed drawing_info to tile_version
Tile Version more accurately describes what is stored
in the class. This also makes it easier to reason about
having multiple versions, which is a goal we have in
for low quality tiles.
Review URL: https://chromiumcodereview.appspot.com/15332004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201281 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/tile.h')
-rw-r--r-- | cc/resources/tile.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cc/resources/tile.h b/cc/resources/tile.h index fa75bb0..3e20674 100644 --- a/cc/resources/tile.h +++ b/cc/resources/tile.h @@ -48,11 +48,11 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> { scoped_ptr<base::Value> AsValue() const; - const ManagedTileState::DrawingInfo& drawing_info() const { - return managed_state_.drawing_info; + const ManagedTileState::TileVersion& tile_version() const { + return managed_state_.tile_version; } - ManagedTileState::DrawingInfo& drawing_info() { - return managed_state_.drawing_info; + ManagedTileState::TileVersion& tile_version() { + return managed_state_.tile_version; } gfx::Rect opaque_rect() const { return opaque_rect_; } @@ -73,7 +73,7 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> { } bool IsAssignedGpuMemory() const { - return drawing_info().memory_state_ != NOT_ALLOWED_TO_USE_MEMORY; + return tile_version().memory_state_ != NOT_ALLOWED_TO_USE_MEMORY; } private: |