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

Unified Diff: third_party/WebKit/Source/modules/speech/SpeechSynthesisVoice.cpp

Issue 2308343002: Replaced PassRefPtr copites with moves in Source/modules. (Closed)
Patch Set: Created 4 years, 3 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/speech/SpeechSynthesisVoice.cpp
diff --git a/third_party/WebKit/Source/modules/speech/SpeechSynthesisVoice.cpp b/third_party/WebKit/Source/modules/speech/SpeechSynthesisVoice.cpp
index 8b7426d978c4638ffa02630d6099aaec3f0824c6..e153f22ddbf8837021140e11c22440f4effa8ad6 100644
--- a/third_party/WebKit/Source/modules/speech/SpeechSynthesisVoice.cpp
+++ b/third_party/WebKit/Source/modules/speech/SpeechSynthesisVoice.cpp
@@ -29,7 +29,7 @@ namespace blink {
SpeechSynthesisVoice* SpeechSynthesisVoice::create(PassRefPtr<PlatformSpeechSynthesisVoice> voice)
{
- return new SpeechSynthesisVoice(voice);
+ return new SpeechSynthesisVoice(std::move(voice));
}
SpeechSynthesisVoice::SpeechSynthesisVoice(PassRefPtr<PlatformSpeechSynthesisVoice> voice)

Powered by Google App Engine
This is Rietveld 408576698