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

Unified Diff: cc/resources/picture_layer_tiling_set.h

Issue 380763002: Add builders for tracing event's structural arguments (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: cc/resources/picture_layer_tiling_set.h
diff --git a/cc/resources/picture_layer_tiling_set.h b/cc/resources/picture_layer_tiling_set.h
index 6452dde5d15ddcf1c68da23b58ed50aa0db351ce..abef2806fb22430157262b7bc0cd46a7c41b10be 100644
--- a/cc/resources/picture_layer_tiling_set.h
+++ b/cc/resources/picture_layer_tiling_set.h
@@ -10,6 +10,12 @@
#include "cc/resources/picture_layer_tiling.h"
#include "ui/gfx/size.h"
+namespace base {
+namespace debug {
+class TracedValue;
+}
+}
+
namespace cc {
class CC_EXPORT PictureLayerTilingSet {
@@ -101,7 +107,7 @@ class CC_EXPORT PictureLayerTilingSet {
Region::Iterator region_iter_;
};
- scoped_ptr<base::Value> AsValue() const;
+ void AsValueInto(base::debug::TracedValue* array) const;
size_t GPUMemoryUsageInBytes() const;
private:

Powered by Google App Engine
This is Rietveld 408576698