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

Unified Diff: trunk/src/cc/resources/managed_tile_state.h

Issue 16178002: Revert 202363 "cc: Cancel and re-prioritize worker pool tasks." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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 | « trunk/src/cc/cc_tests.gyp ('k') | trunk/src/cc/resources/raster_worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/resources/managed_tile_state.h
===================================================================
--- trunk/src/cc/resources/managed_tile_state.h (revision 202735)
+++ trunk/src/cc/resources/managed_tile_state.h (working copy)
@@ -5,9 +5,9 @@
#ifndef CC_RESOURCES_MANAGED_TILE_STATE_H_
#define CC_RESOURCES_MANAGED_TILE_STATE_H_
+#include "base/hash_tables.h"
#include "base/memory/scoped_ptr.h"
#include "cc/resources/platform_color.h"
-#include "cc/resources/raster_worker_pool.h"
#include "cc/resources/resource_pool.h"
#include "cc/resources/resource_provider.h"
#include "cc/resources/tile_manager.h"
@@ -113,10 +113,11 @@
scoped_ptr<base::Value> AsValue() const;
// Persisted state: valid all the time.
+ typedef base::hash_set<uint32_t> PixelRefSet;
+ PixelRefSet decoded_pixel_refs;
TileVersion tile_version;
+ PicturePileImpl::Analysis picture_pile_analysis;
bool picture_pile_analyzed;
- PicturePileImpl::Analysis picture_pile_analysis;
- RasterWorkerPool::Task raster_task;
// Ephemeral state, valid only during TileManager::ManageTiles.
bool is_in_never_bin_on_both_trees() const {
« no previous file with comments | « trunk/src/cc/cc_tests.gyp ('k') | trunk/src/cc/resources/raster_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698