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

Unified Diff: cc/resources/image_raster_worker_pool.h

Issue 380763002: Add builders for tracing event's structural arguments (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed memory leak found by Linux ASAN Created 6 years, 5 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/image_copy_raster_worker_pool.cc ('k') | cc/resources/image_raster_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/image_raster_worker_pool.h
diff --git a/cc/resources/image_raster_worker_pool.h b/cc/resources/image_raster_worker_pool.h
index 2e11a220f41da1ace4568978890687f974ea61f1..39ac7237266ced9c3a7c2c47d0ab31f1467abbd9 100644
--- a/cc/resources/image_raster_worker_pool.h
+++ b/cc/resources/image_raster_worker_pool.h
@@ -10,6 +10,12 @@
#include "cc/resources/raster_worker_pool.h"
#include "cc/resources/rasterizer.h"
+namespace base {
+namespace debug {
+class ConvertableToTraceFormat;
+}
+}
+
namespace cc {
class ResourceProvider;
@@ -45,7 +51,7 @@ class CC_EXPORT ImageRasterWorkerPool : public RasterWorkerPool,
private:
void OnRasterFinished();
void OnRasterRequiredForActivationFinished();
- scoped_ptr<base::Value> StateAsValue() const;
+ scoped_refptr<base::debug::ConvertableToTraceFormat> StateAsValue() const;
scoped_refptr<base::SequencedTaskRunner> task_runner_;
TaskGraphRunner* task_graph_runner_;
« no previous file with comments | « cc/resources/image_copy_raster_worker_pool.cc ('k') | cc/resources/image_raster_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698