| Index: ash/test/wm_window_test_api.cc
|
| diff --git a/ash/test/wm_window_test_api.cc b/ash/test/wm_window_test_api.cc
|
| deleted file mode 100644
|
| index c21d58d74648ca812cd0cebf07047fa9d31b3b32..0000000000000000000000000000000000000000
|
| --- a/ash/test/wm_window_test_api.cc
|
| +++ /dev/null
|
| @@ -1,30 +0,0 @@
|
| -// Copyright 2016 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.
|
| -
|
| -#include "ash/test/wm_window_test_api.h"
|
| -
|
| -namespace ash {
|
| -
|
| -// static
|
| -int WmWindowTestApi::GlobalMinimumSizeLock::instance_count_ = 0;
|
| -
|
| -WmWindowTestApi::GlobalMinimumSizeLock::GlobalMinimumSizeLock() {
|
| - if (instance_count_ == 0)
|
| - WmWindowTestApi::SetDefaultUseEmptyMinimumSizeForTesting(true);
|
| - instance_count_++;
|
| -}
|
| -
|
| -WmWindowTestApi::GlobalMinimumSizeLock::~GlobalMinimumSizeLock() {
|
| - DCHECK_GT(instance_count_, 0);
|
| - instance_count_--;
|
| - if (instance_count_ == 0)
|
| - WmWindowTestApi::SetDefaultUseEmptyMinimumSizeForTesting(false);
|
| -}
|
| -
|
| -// static
|
| -void WmWindowTestApi::SetDefaultUseEmptyMinimumSizeForTesting(bool value) {
|
| - WmWindow::default_use_empty_minimum_size_for_testing_ = value;
|
| -}
|
| -
|
| -} // namespace ash
|
|
|