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..8e4d23660540c3592d281f08f35cea7c51e0d0eb 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/misc/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>(); |
} |