Index: Source/devtools/front_end/console/ConsoleView.js |
diff --git a/Source/devtools/front_end/console/ConsoleView.js b/Source/devtools/front_end/console/ConsoleView.js |
index bf465f50cec16026ef4359137da0581c744dafa5..7c51da8a8af96c7d13c8ce4bea5d4c97a7a693fd 100644 |
--- a/Source/devtools/front_end/console/ConsoleView.js |
+++ b/Source/devtools/front_end/console/ConsoleView.js |
@@ -373,10 +373,10 @@ WebInspector.ConsoleView.prototype = { |
_scheduleViewportRefresh: function() |
{ |
/** |
- * @param {!WebInspector.Throttler.FinishCallback} finishCallback |
* @this {WebInspector.ConsoleView} |
+ * @return {!Promise.<undefined>} |
*/ |
- function invalidateViewport(finishCallback) |
+ function invalidateViewport() |
{ |
if (this._needsFullUpdate) { |
this._updateMessageList(); |
@@ -384,7 +384,7 @@ WebInspector.ConsoleView.prototype = { |
} else { |
this._viewport.invalidate(); |
} |
- finishCallback(); |
+ return Promise.resolve(); |
} |
this._viewportThrottler.schedule(invalidateViewport.bind(this)); |
}, |