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

Unified Diff: third_party/WebKit/Source/modules/plugins/DOMMimeType.cpp

Issue 2761693002: Wrapped PassRefPtrs in move where passed to RefPtr constructor. (Closed)
Patch Set: Added move wraps for multiple instances in 1 line. Created 3 years, 9 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/plugins/DOMMimeType.cpp
diff --git a/third_party/WebKit/Source/modules/plugins/DOMMimeType.cpp b/third_party/WebKit/Source/modules/plugins/DOMMimeType.cpp
index 4e339a275967d48db8a1ad4474793b6e796b9deb..9bea9cc716c830b52591390ae5ea3bfe6502ac3e 100644
--- a/third_party/WebKit/Source/modules/plugins/DOMMimeType.cpp
+++ b/third_party/WebKit/Source/modules/plugins/DOMMimeType.cpp
@@ -30,7 +30,9 @@ namespace blink {
DOMMimeType::DOMMimeType(PassRefPtr<PluginData> pluginData,
LocalFrame* frame,
unsigned index)
- : ContextClient(frame), m_pluginData(pluginData), m_index(index) {}
+ : ContextClient(frame),
+ m_pluginData(std::move(pluginData)),
+ m_index(index) {}
DOMMimeType::~DOMMimeType() {}

Powered by Google App Engine
This is Rietveld 408576698