summaryrefslogtreecommitdiff
path: root/chromium/ui/gfx/x/request_queue.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gfx/x/request_queue.cc')
-rw-r--r--chromium/ui/gfx/x/request_queue.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/chromium/ui/gfx/x/request_queue.cc b/chromium/ui/gfx/x/request_queue.cc
deleted file mode 100644
index 9bd3ab2f248..00000000000
--- a/chromium/ui/gfx/x/request_queue.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2020 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 "ui/gfx/x/request_queue.h"
-
-#include "base/check_op.h"
-
-namespace x11 {
-
-// static
-RequestQueue* RequestQueue::instance_ = nullptr;
-
-RequestQueue::RequestQueue() {
- DCHECK(!instance_);
- instance_ = this;
-}
-
-RequestQueue::~RequestQueue() {
- DCHECK_EQ(instance_, this);
- instance_ = nullptr;
-}
-
-// static
-RequestQueue* RequestQueue::GetInstance() {
- return instance_;
-}
-
-} // namespace x11