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

Unified Diff: tracing/tracing/model/model.html

Issue 1996303002: [Tracing] Introduce Frame Data Side Panel (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Respond to ROI; Merge Frame and FTN Created 4 years, 7 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: tracing/tracing/model/model.html
diff --git a/tracing/tracing/model/model.html b/tracing/tracing/model/model.html
index 35c75ea190a2fa95aa5c96d139dadcf7c7fe3d99..3d747a9a0bdf02beb73a92ac195f7903ecc9a9d4 100644
--- a/tracing/tracing/model/model.html
+++ b/tracing/tracing/model/model.html
@@ -558,6 +558,11 @@ tr.exportTo('tr', function() {
patchup.scopedId, patchup.ts);
if (snapshot) {
patchup.object[patchup.field] = snapshot;
+ // TODO(xiaochengh): Find a saner approach.
+ if (snapshot instanceof tr.e.chrome.BlameContextSnapshot) {
petrcermak 2016/05/24 10:54:10 Maybe you could use `snapshot.eventSet !== undefin
Xiaocheng 2016/05/25 10:17:47 This part is rewritten by adding a callback |Objec
+ if (patchup.item.duration)
petrcermak 2016/05/24 10:54:10 Just checking: Is it intended that this is false e
Xiaocheng 2016/05/25 10:17:47 Good catch. The intention is to add only slices, s
+ snapshot.eventSet.push(patchup.item);
+ }
return;
}
}
@@ -655,6 +660,7 @@ tr.exportTo('tr', function() {
// refs have been located. Otherwise, we could end up recursing in
// ways we definitely didn't intend.
patchupsToApply.push({
+ item: item,
object: object,
field: fieldName,
pidRef: pidRef,

Powered by Google App Engine
This is Rietveld 408576698