summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/run_all_tests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/run_all_tests.cc')
-rw-r--r--webkit/tools/test_shell/run_all_tests.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/tools/test_shell/run_all_tests.cc b/webkit/tools/test_shell/run_all_tests.cc
index 176f8b9..1a11b6e 100644
--- a/webkit/tools/test_shell/run_all_tests.cc
+++ b/webkit/tools/test_shell/run_all_tests.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -44,8 +44,8 @@ class TestShellTestSuite : public base::TestSuite {
public:
TestShellTestSuite(int argc, char** argv)
: base::TestSuite(argc, argv),
- test_shell_webkit_init_(true),
- platform_delegate_(*CommandLine::ForCurrentProcess()) {
+ platform_delegate_(*CommandLine::ForCurrentProcess()),
+ test_shell_webkit_init_(true) {
}
virtual void Initialize() {
@@ -93,6 +93,8 @@ class TestShellTestSuite : public base::TestSuite {
}
private:
+ TestShellPlatformDelegate platform_delegate_;
+
// Allocate a message loop for this thread. Although it is not used
// directly, its constructor sets up some necessary state.
MessageLoopForUI main_message_loop_;
@@ -100,8 +102,6 @@ class TestShellTestSuite : public base::TestSuite {
// Initialize WebKit for this scope.
TestShellWebKitInit test_shell_webkit_init_;
- TestShellPlatformDelegate platform_delegate_;
-
DISALLOW_COPY_AND_ASSIGN(TestShellTestSuite);
};