Index: ash/touch/touch_hud_debug.cc |
diff --git a/ash/touch/touch_hud_debug.cc b/ash/touch/touch_hud_debug.cc |
index c009aad2d19ad4d99ad0e19881e54277d2da3a44..7979873698d893efa514817a829305d5f7781d4e 100644 |
--- a/ash/touch/touch_hud_debug.cc |
+++ b/ash/touch/touch_hud_debug.cc |
@@ -6,6 +6,7 @@ |
#include <algorithm> |
#include <string> |
+#include <utility> |
#include <vector> |
#include "ash/root_window_controller.h" |
@@ -363,7 +364,7 @@ std::unique_ptr<base::DictionaryValue> TouchHudDebug::GetAllAsDictionary() { |
if (hud) { |
std::unique_ptr<base::ListValue> list = hud->GetLogAsList(); |
if (!list->empty()) |
- value->Set(base::Int64ToString(hud->display_id()), list.release()); |
+ value->Set(base::Int64ToString(hud->display_id()), std::move(list)); |
} |
} |
return value; |