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

Unified Diff: content/renderer/npapi/webplugin_delegate_proxy.cc

Issue 1752233002: Convert Pass()→std::move() on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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 | « content/common/sandbox_win.cc ('k') | device/bluetooth/bluetooth_low_energy_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/npapi/webplugin_delegate_proxy.cc
diff --git a/content/renderer/npapi/webplugin_delegate_proxy.cc b/content/renderer/npapi/webplugin_delegate_proxy.cc
index f6573aadba469478013b20e6eae8cfe746bca5e9..942dc716e1400ced193b28bb4c91743ec9afd6de 100644
--- a/content/renderer/npapi/webplugin_delegate_proxy.cc
+++ b/content/renderer/npapi/webplugin_delegate_proxy.cc
@@ -7,6 +7,7 @@
#include <stddef.h>
#include <algorithm>
+#include <utility>
#include "base/auto_reset.h"
#include "base/command_line.h"
@@ -751,7 +752,7 @@ void WebPluginDelegateProxy::OnSetWindowlessData(
return;
modal_loop_pump_messages_event_.reset(
- new base::WaitableEvent(modal_loop_pump_messages_event.Pass()));
+ new base::WaitableEvent(std::move(modal_loop_pump_messages_event)));
}
void WebPluginDelegateProxy::OnNotifyIMEStatus(int input_type,
« no previous file with comments | « content/common/sandbox_win.cc ('k') | device/bluetooth/bluetooth_low_energy_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698