Index: third_party/WebKit/Source/platform/TimerTest.cpp |
diff --git a/third_party/WebKit/Source/platform/TimerTest.cpp b/third_party/WebKit/Source/platform/TimerTest.cpp |
index 9cbc0d27adf9520fffb29acebc258b5487b3e13e..ee46d22380954ae451b7703e3b9df7bf032f8c68 100644 |
--- a/third_party/WebKit/Source/platform/TimerTest.cpp |
+++ b/third_party/WebKit/Source/platform/TimerTest.cpp |
@@ -97,7 +97,7 @@ class OnHeapTimerOwner final |
}; |
explicit OnHeapTimerOwner(PassRefPtr<Record> record) |
- : timer_(this, &OnHeapTimerOwner::Fired), record_(record) {} |
+ : timer_(this, &OnHeapTimerOwner::Fired), record_(std::move(record)) {} |
~OnHeapTimerOwner() { record_->SetOwnerIsDestructed(); } |
void StartOneShot(double interval, const WebTraceLocation& caller) { |