Index: cc/resources/pixel_buffer_raster_worker_pool.h |
diff --git a/cc/resources/pixel_buffer_raster_worker_pool.h b/cc/resources/pixel_buffer_raster_worker_pool.h |
index aa1a345b362b1e499de5f216367c9607fa662a45..d4fc0881cb7fe751695f78ca667a57c0a37e23c5 100644 |
--- a/cc/resources/pixel_buffer_raster_worker_pool.h |
+++ b/cc/resources/pixel_buffer_raster_worker_pool.h |
@@ -15,6 +15,13 @@ |
#include "cc/resources/raster_worker_pool.h" |
#include "cc/resources/rasterizer.h" |
+namespace base { |
+namespace debug { |
+class ConvertableToTraceFormat; |
+class TracedValue; |
+} |
+} |
+ |
namespace cc { |
class ResourceProvider; |
@@ -90,8 +97,8 @@ class CC_EXPORT PixelBufferRasterWorkerPool : public RasterWorkerPool, |
void CheckForCompletedRasterizerTasks(); |
const char* StateName() const; |
- scoped_ptr<base::Value> StateAsValue() const; |
- scoped_ptr<base::Value> ThrottleStateAsValue() const; |
+ scoped_refptr<base::debug::ConvertableToTraceFormat> StateAsValue() const; |
+ void ThrottleStateAsValueInto(base::debug::TracedValue* throttle_state) const; |
scoped_refptr<base::SequencedTaskRunner> task_runner_; |
TaskGraphRunner* task_graph_runner_; |