From 57084726742f5503a78f95c708fe41db78f915a6 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Thu, 30 Apr 2015 14:57:59 -0700 Subject: [PATCH] Bug 1159779 - mozilla::AutoTimelineMarker shouldn't be copy-able; r=smaug --- docshell/base/AutoTimelineMarker.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docshell/base/AutoTimelineMarker.h b/docshell/base/AutoTimelineMarker.h index 6a8096dd8fe..c0c4da18369 100644 --- a/docshell/base/AutoTimelineMarker.h +++ b/docshell/base/AutoTimelineMarker.h @@ -66,6 +66,9 @@ public: mDocShell->AddProfileTimelineMarker(mName, TRACING_INTERVAL_END); } } + + AutoTimelineMarker(const AutoTimelineMarker& aOther) = delete; + void operator=(const AutoTimelineMarker& aOther) = delete; }; } // namespace mozilla