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

Unified Diff: third_party/WebKit/Source/platform/exported/WebCryptoResult.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/exported/WebData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/exported/WebCryptoResult.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebCryptoResult.cpp b/third_party/WebKit/Source/platform/exported/WebCryptoResult.cpp
index 2d402aff185b8c1277bd494a71eac76a5d54112b..1b779d92fea3bb594fb5396e5ea79f7913d9ba53 100644
--- a/third_party/WebKit/Source/platform/exported/WebCryptoResult.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebCryptoResult.cpp
@@ -83,7 +83,7 @@ bool WebCryptoResult::Cancelled() const {
WebCryptoResult::WebCryptoResult(CryptoResult* impl,
PassRefPtr<CryptoResultCancel> cancel)
- : impl_(impl), cancel_(cancel) {
+ : impl_(impl), cancel_(std::move(cancel)) {
DCHECK(impl_.Get());
DCHECK(cancel_.Get());
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/exported/WebData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698