summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui_test_utils.cc
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 02:02:46 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 02:02:46 +0000
commit1e187afa75fe66d8525651c1f395c40e8227844d (patch)
tree28a2f0ea9a7c27305af52e8382b471a321a9af8b /chrome/test/ui_test_utils.cc
parent67a54912d23c2a0c87065e9a876971fda54edf70 (diff)
downloadchromium_src-1e187afa75fe66d8525651c1f395c40e8227844d.zip
chromium_src-1e187afa75fe66d8525651c1f395c40e8227844d.tar.gz
chromium_src-1e187afa75fe66d8525651c1f395c40e8227844d.tar.bz2
Reverting 10318.
Reverting again... Review URL: http://codereview.chromium.org/28106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10321 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui_test_utils.cc')
-rw-r--r--chrome/test/ui_test_utils.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/test/ui_test_utils.cc b/chrome/test/ui_test_utils.cc
index 7471711..1293f72 100644
--- a/chrome/test/ui_test_utils.cc
+++ b/chrome/test/ui_test_utils.cc
@@ -10,7 +10,6 @@
#include "chrome/browser/tab_contents/web_contents.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/notification_service.h"
-#include "chrome/views/accelerator_handler.h"
#include "googleurl/src/gurl.h"
namespace ui_test_utils {
@@ -60,8 +59,7 @@ void RunMessageLoop() {
MessageLoopForUI* loop = MessageLoopForUI::current();
bool did_allow_task_nesting = loop->NestableTasksAllowed();
loop->SetNestableTasksAllowed(true);
- views::AcceleratorHandler handler;
- loop->Run(&handler);
+ loop->Run(NULL);
loop->SetNestableTasksAllowed(did_allow_task_nesting);
}