| Index: third_party/WebKit/Source/devtools/front_end/sdk/PaintProfiler.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/PaintProfiler.js b/third_party/WebKit/Source/devtools/front_end/sdk/PaintProfiler.js
|
| index c5c61e0e9f51ac39b30440da74ea88430f966985..e61242817965536f6cbc4b1912be8754b8750152 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/PaintProfiler.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/PaintProfiler.js
|
| @@ -91,7 +91,7 @@ WebInspector.PaintProfilerSnapshot.prototype = {
|
| */
|
| requestImage: function(firstStep, lastStep, scale, callback)
|
| {
|
| - var wrappedCallback = InspectorBackend.wrapClientCallback(callback, "LayerTreeAgent.replaySnapshot(): ");
|
| + var wrappedCallback = Protocol.wrapClientCallback(callback, "LayerTreeAgent.replaySnapshot(): ");
|
| this._target.layerTreeAgent().replaySnapshot(this._id, firstStep || undefined, lastStep || undefined, scale || 1.0, wrappedCallback);
|
| },
|
|
|
| @@ -101,7 +101,7 @@ WebInspector.PaintProfilerSnapshot.prototype = {
|
| */
|
| profile: function(clipRect, callback)
|
| {
|
| - var wrappedCallback = InspectorBackend.wrapClientCallback(callback, "LayerTreeAgent.profileSnapshot(): ");
|
| + var wrappedCallback = Protocol.wrapClientCallback(callback, "LayerTreeAgent.profileSnapshot(): ");
|
| this._target.layerTreeAgent().profileSnapshot(this._id, 5, 1, clipRect || undefined, wrappedCallback);
|
| },
|
|
|
|
|