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

Unified Diff: cc/resources/managed_tile_state.cc

Issue 168083002: cc: Remove RasterWorkerPool::Task. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove RasterTaskQueueIterator Created 6 years, 10 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/managed_tile_state.h ('k') | cc/resources/pixel_buffer_raster_worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/managed_tile_state.cc
diff --git a/cc/resources/managed_tile_state.cc b/cc/resources/managed_tile_state.cc
index 383986e652675e47957051840e69815497ac8a0c..d1bf9acbc508b1c2eb9598945d9e117ec52dd0e6 100644
--- a/cc/resources/managed_tile_state.cc
+++ b/cc/resources/managed_tile_state.cc
@@ -84,7 +84,7 @@ scoped_ptr<base::Value> ManagedTileState::AsValue() const {
bool has_active_task = false;
for (int mode = 0; mode < NUM_RASTER_MODES; ++mode) {
has_resource |= (tile_versions[mode].resource_.get() != 0);
- has_active_task |= !tile_versions[mode].raster_task_.is_null();
+ has_active_task |= (tile_versions[mode].raster_task_.get() != 0);
}
bool is_using_gpu_memory = has_resource || has_active_task;
« no previous file with comments | « cc/resources/managed_tile_state.h ('k') | cc/resources/pixel_buffer_raster_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698