Index: Source/devtools/front_end/sdk/PaintProfiler.js |
diff --git a/Source/devtools/front_end/sdk/PaintProfiler.js b/Source/devtools/front_end/sdk/PaintProfiler.js |
index 46ad15ecd3843b1893835d8b21c359a8d5e0a41f..573630b845e4a2ec550f499fa4a6cf7e96409e73 100644 |
--- a/Source/devtools/front_end/sdk/PaintProfiler.js |
+++ b/Source/devtools/front_end/sdk/PaintProfiler.js |
@@ -61,5 +61,14 @@ WebInspector.PaintProfilerSnapshot.prototype = { |
{ |
var wrappedCallback = InspectorBackend.wrapClientCallback(callback, "LayerTreeAgent.profileSnapshot(): "); |
LayerTreeAgent.profileSnapshot(this._id, 5, 1, wrappedCallback); |
+ }, |
+ |
+ /** |
+ * @param {function(!Array.<!Object>=)} callback |
+ */ |
+ commandLog: function(callback) |
+ { |
+ var wrappedCallback = InspectorBackend.wrapClientCallback(callback, "LayerTreeAgent.snapshotCommandLog(): "); |
+ LayerTreeAgent.snapshotCommandLog(this._id, wrappedCallback); |
} |
}; |