Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Unified Diff: third_party/WebKit/Source/modules/sensor/Sensor.cpp

Issue 2919273002: Don't move raw pointers in third_party/WebKit (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/sensor/Sensor.cpp
diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.cpp b/third_party/WebKit/Source/modules/sensor/Sensor.cpp
index 7cf29be637efaa24c5e09c0d22475f86ab3e7802..400374fdad3f60ea303ffc91b5590717d037d525 100644
--- a/third_party/WebKit/Source/modules/sensor/Sensor.cpp
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.cpp
@@ -310,8 +310,7 @@ void Sensor::NotifyOnActivate() {
}
void Sensor::NotifyError(DOMException* error) {
- DispatchEvent(
- SensorErrorEvent::Create(EventTypeNames::error, std::move(error)));
+ DispatchEvent(SensorErrorEvent::Create(EventTypeNames::error, error));
}
bool Sensor::CanReturnReadings() const {
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698