diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/scheduler/common/thread_cpu_throttler.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/scheduler/common/thread_cpu_throttler.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/platform/scheduler/common/thread_cpu_throttler.cc b/chromium/third_party/blink/renderer/platform/scheduler/common/thread_cpu_throttler.cc index 4be57405fb4..d09e0877911 100644 --- a/chromium/third_party/blink/renderer/platform/scheduler/common/thread_cpu_throttler.cc +++ b/chromium/third_party/blink/renderer/platform/scheduler/common/thread_cpu_throttler.cc @@ -8,7 +8,6 @@ #include "base/atomicops.h" #include "base/logging.h" -#include "base/macros.h" #include "base/memory/singleton.h" #include "base/synchronization/atomic_flag.h" #include "base/threading/platform_thread.h" @@ -32,6 +31,8 @@ class ThreadCPUThrottler::ThrottlingThread final : public base::PlatformThread::Delegate { public: explicit ThrottlingThread(double rate); + ThrottlingThread(const ThrottlingThread&) = delete; + ThrottlingThread& operator=(const ThrottlingThread&) = delete; ~ThrottlingThread() override; void SetThrottlingRate(double rate); @@ -61,8 +62,6 @@ class ThreadCPUThrottler::ThrottlingThread final base::PlatformThreadHandle throttled_thread_handle_; base::PlatformThreadHandle throttling_thread_handle_; base::AtomicFlag cancellation_flag_; - - DISALLOW_COPY_AND_ASSIGN(ThrottlingThread); }; #ifdef USE_SIGNALS |