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

Unified Diff: cc/layers/layer_impl.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/layers/heads_up_display_layer_impl.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 979d2e02c8c0a96ce4ce13b2de5a5c38f20ba5c3..c1ce9df5c0198be46b4ee76cf2a2cda99ffd7367 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -39,6 +39,7 @@
namespace base {
namespace debug {
class ConvertableToTraceFormat;
+class TracedValue;
}
class DictionaryValue;
@@ -521,7 +522,8 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl);
virtual void PushPropertiesTo(LayerImpl* layer);
- scoped_ptr<base::Value> AsValue() const;
+ virtual void AsValueInto(base::debug::TracedValue* dict) const;
+
virtual size_t GPUMemoryUsageInBytes() const;
void SetNeedsPushProperties();
@@ -563,8 +565,6 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
SkColor color,
float width) const;
- virtual void AsValueInto(base::DictionaryValue* dict) const;
-
void NoteLayerPropertyChanged();
void NoteLayerPropertyChangedForSubtree();
« no previous file with comments | « cc/layers/heads_up_display_layer_impl.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698