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

Unified Diff: content/browser/gpu/gpu_internals_ui.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
Index: content/browser/gpu/gpu_internals_ui.cc
diff --git a/content/browser/gpu/gpu_internals_ui.cc b/content/browser/gpu/gpu_internals_ui.cc
index d9a24fc0ccb263990769b1d5c6b00725e8130710..34ba18db3b6bb7a5443d7f1f3f18aa41e78751f3 100644
--- a/content/browser/gpu/gpu_internals_ui.cc
+++ b/content/browser/gpu/gpu_internals_ui.cc
@@ -7,6 +7,7 @@
#include <stddef.h>
#include <string>
+#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -242,7 +243,7 @@ base::DictionaryValue* GpuInfoAsDictionaryValue() {
scoped_ptr<base::Value> dx_info = base::Value::CreateNullValue();
if (gpu_info.dx_diagnostics.children.size())
dx_info.reset(DxDiagNodeToList(gpu_info.dx_diagnostics));
- info->Set("diagnostics", dx_info.Pass());
+ info->Set("diagnostics", std::move(dx_info));
#endif
return info;
« no previous file with comments | « components/policy/core/common/registry_dict_win_unittest.cc ('k') | content/browser/vr/vr_device_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698