summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-13 20:12:56 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-13 20:12:56 +0000
commit327c152b3e808301848da2a1044c16c2d5067ca0 (patch)
tree50c2cb2818fe956aa8046a347f4dfc7727795f70
parent2ea7103247c84dd233a5a5b40660ed65a7bd4417 (diff)
downloadchromium_src-327c152b3e808301848da2a1044c16c2d5067ca0.zip
chromium_src-327c152b3e808301848da2a1044c16c2d5067ca0.tar.gz
chromium_src-327c152b3e808301848da2a1044c16c2d5067ca0.tar.bz2
Initialize WTF threading before calling EventNames::init() in
KeyboardTest (as was done in r4786 for DomAutocompleteTests, for debug mode test_shell_tests). Review URL: http://codereview.chromium.org/10669 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5364 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/tools/test_shell/keyboard_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/keyboard_unittest.cc b/webkit/tools/test_shell/keyboard_unittest.cc
index 4ff87b1..de98b32 100644
--- a/webkit/tools/test_shell/keyboard_unittest.cc
+++ b/webkit/tools/test_shell/keyboard_unittest.cc
@@ -24,6 +24,7 @@ using WebCore::KeyboardEvent;
class KeyboardTest : public testing::Test {
public:
void SetUp() {
+ WTF::initializeThreading();
WebCore::EventNames::init();
}