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

Unified Diff: third_party/WebKit/Source/web/WebUserGestureToken.cpp

Issue 2879133002: Made conversions from PassRefPtr to WebPrivatePtr move only. (Closed)
Patch Set: Created 3 years, 7 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
Index: third_party/WebKit/Source/web/WebUserGestureToken.cpp
diff --git a/third_party/WebKit/Source/web/WebUserGestureToken.cpp b/third_party/WebKit/Source/web/WebUserGestureToken.cpp
index 78d4ecb1571b7dfbd993d9e295ab1b8597bfcf63..4b8654bd3617ee8fd39d423cce3c7a48da5ff937 100644
--- a/third_party/WebKit/Source/web/WebUserGestureToken.cpp
+++ b/third_party/WebKit/Source/web/WebUserGestureToken.cpp
@@ -47,7 +47,7 @@ void WebUserGestureToken::SetJavascriptPrompt() {
}
WebUserGestureToken::WebUserGestureToken(PassRefPtr<UserGestureToken> token) {
- token_ = token;
+ token_ = std::move(token);
}
WebUserGestureToken::operator PassRefPtr<UserGestureToken>() const {
« no previous file with comments | « third_party/WebKit/Source/web/WebSerializedScriptValue.cpp ('k') | third_party/WebKit/public/platform/WebPrivatePtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698