| Index: cc/resources/tile_manager.h
|
| diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
|
| index 686d0d06aae9d1513915100210c1de18bb91fd1c..ef98b3baec38ff4a9add4bbc7c58c846d637217d 100644
|
| --- a/cc/resources/tile_manager.h
|
| +++ b/cc/resources/tile_manager.h
|
| @@ -27,6 +27,12 @@
|
| #include "cc/resources/resource_pool.h"
|
| #include "cc/resources/tile.h"
|
|
|
| +namespace base {
|
| +namespace debug {
|
| +class TracedValue;
|
| +}
|
| +}
|
| +
|
| namespace cc {
|
| class PictureLayerImpl;
|
| class ResourceProvider;
|
| @@ -102,8 +108,10 @@ class CC_EXPORT TileManager : public RasterizerClient,
|
| int source_frame_number,
|
| int flags);
|
|
|
| - scoped_ptr<base::Value> BasicStateAsValue() const;
|
| - scoped_ptr<base::Value> AllTilesAsValue() const;
|
| + scoped_refptr<base::debug::ConvertableToTraceFormat> BasicStateAsValue()
|
| + const;
|
| + void BasicStateAsValueInto(base::debug::TracedValue* dict) const;
|
| + void AllTilesAsValueInto(base::debug::TracedValue* array) const;
|
| const MemoryHistory::Entry& memory_stats_from_last_assign() const {
|
| return memory_stats_from_last_assign_;
|
| }
|
|
|