From ac863a026dcce485a87698d0489c05e4c2baf889 Mon Sep 17 00:00:00 2001 From: "pfeldman@chromium.org" Date: Tue, 15 Dec 2009 10:51:23 +0000 Subject: DevTools: Add support for inspector layout tests. Step 3. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34544 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/devtools/js/devtools.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webkit/glue') diff --git a/webkit/glue/devtools/js/devtools.js b/webkit/glue/devtools/js/devtools.js index 5c80640..fea0a63 100644 --- a/webkit/glue/devtools/js/devtools.js +++ b/webkit/glue/devtools/js/devtools.js @@ -489,8 +489,8 @@ WebInspector.ElementsPanel.prototype._nodeSearchButtonClicked = function( WebInspector.runAfterPendingDispatchesQueue = []; -WebInspector.runAfterPendingDispatches = function(callback) { - this.runAfterPendingDispatchesQueue.push(callback); +WebInspector.TestController.prototype.runAfterPendingDispatches = function(callback) { + WebInspector.runAfterPendingDispatchesQueue.push(callback); }; WebInspector.queuesAreEmpty = function() { -- cgit v1.1