summaryrefslogtreecommitdiff
path: root/chromium/media/base/scoped_async_trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/base/scoped_async_trace.h')
-rw-r--r--chromium/media/base/scoped_async_trace.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/media/base/scoped_async_trace.h b/chromium/media/base/scoped_async_trace.h
index e448689410f..a8502a7d56d 100644
--- a/chromium/media/base/scoped_async_trace.h
+++ b/chromium/media/base/scoped_async_trace.h
@@ -25,6 +25,9 @@ class MEDIA_EXPORT ScopedAsyncTrace {
// other words, use literal strings only. See trace_event_common.h .
static std::unique_ptr<ScopedAsyncTrace> CreateIfEnabled(const char* name);
+ ScopedAsyncTrace(const ScopedAsyncTrace&) = delete;
+ ScopedAsyncTrace& operator=(const ScopedAsyncTrace&) = delete;
+
~ScopedAsyncTrace();
// TODO(liberato): Add StepInto / StepPast.
@@ -33,8 +36,6 @@ class MEDIA_EXPORT ScopedAsyncTrace {
explicit ScopedAsyncTrace(const char* name);
const char* name_ = nullptr;
-
- DISALLOW_COPY_AND_ASSIGN(ScopedAsyncTrace);
};
} // namespace media