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

Unified Diff: cc/resources/picture.cc

Issue 828703002: separate picture info from cc.debug (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture.cc
diff --git a/cc/resources/picture.cc b/cc/resources/picture.cc
index f956389aa14c7efe993152f5e4c1dc1459d8aa4d..e280b4a2bb63818997e88a793ee0bb692119b666 100644
--- a/cc/resources/picture.cc
+++ b/cc/resources/picture.cc
@@ -176,7 +176,7 @@ Picture::Picture(const skia::RefPtr<SkPicture>& picture,
Picture::~Picture() {
TRACE_EVENT_OBJECT_DELETED_WITH_ID(
- TRACE_DISABLED_BY_DEFAULT("cc.debug"), "cc::Picture", this);
+ TRACE_DISABLED_BY_DEFAULT("cc.debug.picture"), "cc::Picture", this);
}
bool Picture::IsSuitableForGpuRasterization(const char** reason) const {
@@ -390,8 +390,8 @@ scoped_ptr<base::Value> Picture::AsValue() const {
void Picture::EmitTraceSnapshot() const {
TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID(
- TRACE_DISABLED_BY_DEFAULT("cc.debug") "," TRACE_DISABLED_BY_DEFAULT(
- "devtools.timeline.picture"),
+ TRACE_DISABLED_BY_DEFAULT("cc.debug.picture") ","
+ TRACE_DISABLED_BY_DEFAULT("devtools.timeline.picture"),
"cc::Picture",
this,
TracedPicture::AsTraceablePicture(this));
@@ -399,8 +399,8 @@ void Picture::EmitTraceSnapshot() const {
void Picture::EmitTraceSnapshotAlias(Picture* original) const {
TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID(
- TRACE_DISABLED_BY_DEFAULT("cc.debug") "," TRACE_DISABLED_BY_DEFAULT(
- "devtools.timeline.picture"),
+ TRACE_DISABLED_BY_DEFAULT("cc.debug.picture") ","
+ TRACE_DISABLED_BY_DEFAULT("devtools.timeline.picture"),
"cc::Picture",
this,
TracedPicture::AsTraceablePictureAlias(original));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698