Index: cc/resources/image_copy_raster_worker_pool.h |
diff --git a/cc/resources/image_copy_raster_worker_pool.h b/cc/resources/image_copy_raster_worker_pool.h |
index 8f9d6783a69fbde8a7fed3d8be8c1b1b9d859097..62cf3d064a6c90bd83acbdca52e80b60fd77049c 100644 |
--- a/cc/resources/image_copy_raster_worker_pool.h |
+++ b/cc/resources/image_copy_raster_worker_pool.h |
@@ -13,6 +13,13 @@ |
#include "cc/resources/raster_worker_pool.h" |
#include "cc/resources/rasterizer.h" |
+namespace base { |
+namespace debug { |
+class ConvertableToTraceFormat; |
+class TracedValue; |
+} |
+} |
+ |
namespace cc { |
class ResourcePool; |
class ResourceProvider; |
@@ -77,8 +84,8 @@ class CC_EXPORT ImageCopyRasterWorkerPool : public RasterWorkerPool, |
void OnRasterFinished(); |
void OnRasterRequiredForActivationFinished(); |
void FlushCopies(); |
- scoped_ptr<base::Value> StateAsValue() const; |
- scoped_ptr<base::Value> StagingStateAsValue() const; |
+ scoped_refptr<base::debug::ConvertableToTraceFormat> StateAsValue() const; |
+ void StagingStateAsValueInto(base::debug::TracedValue* staging_state) const; |
scoped_refptr<base::SequencedTaskRunner> task_runner_; |
TaskGraphRunner* task_graph_runner_; |