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

Unified Diff: third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp

Issue 1983783002: Remove OwnPtr::release() calls in modules/ (part 1). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/modules/crypto/NormalizeAlgorithm.cpp
diff --git a/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp b/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp
index 862b4942250b02621b6e09a06f1e69daa8ed5be2..74f61e99b71d1eef0018195b2ca4d2493ac1582e 100644
--- a/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp
+++ b/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp
@@ -946,7 +946,7 @@ bool parseAlgorithmDictionary(const String& algorithmName, const Dictionary& raw
if (!parseAlgorithmParams(raw, paramsType, params, context, error))
return false;
- algorithm = WebCryptoAlgorithm(algorithmId, params.release());
+ algorithm = WebCryptoAlgorithm(algorithmId, std::move(params));
return true;
}

Powered by Google App Engine
This is Rietveld 408576698