diff options
Diffstat (limited to 'cc/resources/tile.h')
-rw-r--r-- | cc/resources/tile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/resources/tile.h b/cc/resources/tile.h index fbb9002..f68fdf1 100644 --- a/cc/resources/tile.h +++ b/cc/resources/tile.h @@ -69,7 +69,9 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> { picture_pile_ = pile; } - bool IsAssignedGpuMemory() const { return managed_state_.can_use_gpu_memory; } + bool IsAssignedGpuMemory() const { + return drawing_info().memory_state_ != NOT_ALLOWED_TO_USE_MEMORY; + } private: // Methods called by by tile manager. |