blob: 33f2855abd54a73c5f8f397b130b0bfc8f183575 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/linux/linux_ui_getter.h"
namespace ui {
// static
LinuxUiGetter* LinuxUiGetter::instance_ = nullptr;
LinuxUiGetter::LinuxUiGetter() {
// Tests reset this, so avoid DCHECKs.
instance_ = this;
}
LinuxUiGetter::~LinuxUiGetter() {
instance_ = nullptr;
}
} // namespace ui
|