diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-24 22:23:23 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-24 22:23:23 +0000 |
commit | 8890152cfef0f04a00a06f7bc789a09677f22ac0 (patch) | |
tree | 765d3065aaa5258f74989ad9f9e4137b5fcbbb63 /chrome/test/ui_test_utils.cc | |
parent | f580476269c13a0c10f454d9175ef9cc45e066f5 (diff) | |
download | chromium_src-8890152cfef0f04a00a06f7bc789a09677f22ac0.zip chromium_src-8890152cfef0f04a00a06f7bc789a09677f22ac0.tar.gz chromium_src-8890152cfef0f04a00a06f7bc789a09677f22ac0.tar.bz2 |
Reverting 10295.
Reverting my last CL
Review URL: http://codereview.chromium.org/28095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10297 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui_test_utils.cc')
-rw-r--r-- | chrome/test/ui_test_utils.cc | 4 |
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); } |