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

Unified Diff: components/os_crypt/ie7_password_win.cc

Issue 1884743002: Convert a few components from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lint Created 4 years, 8 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: components/os_crypt/ie7_password_win.cc
diff --git a/components/os_crypt/ie7_password_win.cc b/components/os_crypt/ie7_password_win.cc
index 1c31eb9a15be3af5e8bbf9ecc75c1c1c29906055..662b35e16e67eada3c72b0477eb62a43d96b96a2 100644
--- a/components/os_crypt/ie7_password_win.cc
+++ b/components/os_crypt/ie7_password_win.cc
@@ -10,7 +10,6 @@
#include <string>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "base/sha1.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
@@ -83,7 +82,6 @@ bool GetUserPassFromData(const std::vector<unsigned char>& data,
information->pre_header.pre_header_size;
for (int i = 0; i < entry_count / 2; ++i) {
-
const Entry* user_entry = &information->entry[2*i];
const Entry* pass_entry = user_entry+1;
« no previous file with comments | « components/crash/content/browser/crash_micro_dump_manager_android.cc ('k') | components/os_crypt/os_crypt_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698