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

Unified Diff: Source/devtools/front_end/layers/LayerPaintProfilerView.js

Issue 1163223003: DevTools: better error handling in paint profiler UI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « no previous file | Source/devtools/front_end/timeline/PaintProfilerView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/layers/LayerPaintProfilerView.js
diff --git a/Source/devtools/front_end/layers/LayerPaintProfilerView.js b/Source/devtools/front_end/layers/LayerPaintProfilerView.js
index ccd39f748017cd19e23bdc3ebaea9976b9729b80..c94d480898e8bad1aab5e4484e4c68cd18646afb 100644
--- a/Source/devtools/front_end/layers/LayerPaintProfilerView.js
+++ b/Source/devtools/front_end/layers/LayerPaintProfilerView.js
@@ -47,7 +47,7 @@ WebInspector.LayerPaintProfilerView.prototype = {
*/
function onCommandLogDone(snapshot, log)
{
- this._logTreeView.setCommandLog(snapshot.target(), log);
+ this._logTreeView.setCommandLog(snapshot.target(), log || []);
this._paintProfilerView.setSnapshotAndLog(snapshot || null, log || [], null);
}
},
« no previous file with comments | « no previous file | Source/devtools/front_end/timeline/PaintProfilerView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698