Index: client/crash_report_database_win.cc |
diff --git a/client/crash_report_database_win.cc b/client/crash_report_database_win.cc |
index 5eabdee01de0e1b4e57370ec9e1c2d837c2bd430..7f4ede4f10bce43be51633b9ae6843b5b96892f5 100644 |
--- a/client/crash_report_database_win.cc |
+++ b/client/crash_report_database_win.cc |
@@ -25,6 +25,7 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "client/settings.h" |
#include "util/misc/initialization_state_dcheck.h" |
+#include "util/stdlib/move.h" |
namespace crashpad { |
@@ -815,7 +816,7 @@ scoped_ptr<CrashReportDatabase> InitializeInternal( |
scoped_ptr<CrashReportDatabaseWin> database_win( |
new CrashReportDatabaseWin(path)); |
return database_win->Initialize(may_create) |
- ? database_win.Pass() |
+ ? crashpad::move(database_win) |
: scoped_ptr<CrashReportDatabaseWin>(); |
} |