summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/layout_test_controller.cc
diff options
context:
space:
mode:
authorfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-09 20:23:02 +0000
committerfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-09 20:23:02 +0000
commit7751dfd43d684caf0d333060c0cfc82a3b041a0d (patch)
tree6e6bfef7a7b9c57c4257630ac1cd3632be090f24 /webkit/tools/test_shell/layout_test_controller.cc
parentd50cca412ec42dd9ccbc33cc38d1f7021a54b4fb (diff)
downloadchromium_src-7751dfd43d684caf0d333060c0cfc82a3b041a0d.zip
chromium_src-7751dfd43d684caf0d333060c0cfc82a3b041a0d.tar.gz
chromium_src-7751dfd43d684caf0d333060c0cfc82a3b041a0d.tar.bz2
The DumpWindowStatus flag wasn't being cleared in Reset.
Review URL: http://codereview.chromium.org/21180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/layout_test_controller.cc')
-rw-r--r--webkit/tools/test_shell/layout_test_controller.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/layout_test_controller.cc b/webkit/tools/test_shell/layout_test_controller.cc
index e861d37..affd0da 100644
--- a/webkit/tools/test_shell/layout_test_controller.cc
+++ b/webkit/tools/test_shell/layout_test_controller.cc
@@ -39,6 +39,8 @@ VOID CALLBACK TestTimeout(HWND hwnd, UINT msg, UINT_PTR timer_id, DWORD ms) {
#endif
TestShell* LayoutTestController::shell_ = NULL;
+// Most of these flags need to be cleared in Reset() so that they get turned
+// off between each test run.
bool LayoutTestController::dump_as_text_ = false;
bool LayoutTestController::dump_editing_callbacks_ = false;
bool LayoutTestController::dump_frame_load_callbacks_ = false;
@@ -380,6 +382,7 @@ void LayoutTestController::Reset() {
dump_back_forward_list_ = false;
dump_child_frame_scroll_positions_ = false;
dump_child_frames_as_text_ = false;
+ dump_window_status_changes_ = false;
dump_title_changes_ = false;
accepts_editing_ = true;
wait_until_done_ = false;