| Index: components/test_runner/test_runner.cc
|
| diff --git a/components/test_runner/test_runner.cc b/components/test_runner/test_runner.cc
|
| index 7d1b8334f72e0d224f341e6f0ee84fa75c32c41d..d23078b3a6439c5e52c7471e63ced86764de9968 100644
|
| --- a/components/test_runner/test_runner.cc
|
| +++ b/components/test_runner/test_runner.cc
|
| @@ -1605,7 +1605,6 @@ void TestRunner::Reset() {
|
|
|
| dump_as_audio_ = false;
|
| dump_create_view_ = false;
|
| - can_open_windows_ = false;
|
| dump_window_status_changes_ = false;
|
| dump_spell_check_callbacks_ = false;
|
| dump_back_forward_list_ = false;
|
| @@ -1782,7 +1781,7 @@ bool TestRunner::shouldDumpCreateView() const {
|
| }
|
|
|
| bool TestRunner::canOpenWindows() const {
|
| - return can_open_windows_;
|
| + return layout_test_runtime_flags_.can_open_windows();
|
| }
|
|
|
| bool TestRunner::shouldDumpResourceLoadCallbacks() const {
|
| @@ -2433,7 +2432,8 @@ void TestRunner::DumpCreateView() {
|
| }
|
|
|
| void TestRunner::SetCanOpenWindows() {
|
| - can_open_windows_ = true;
|
| + layout_test_runtime_flags_.set_can_open_windows(true);
|
| + OnLayoutTestRuntimeFlagsChanged();
|
| }
|
|
|
| void TestRunner::DumpResourceLoadCallbacks() {
|
|
|