Index: chrome/browser/password_manager/native_backend_kwallet_x.cc |
diff --git a/chrome/browser/password_manager/native_backend_kwallet_x.cc b/chrome/browser/password_manager/native_backend_kwallet_x.cc |
index 787ed5bf13358607fa4e011aa7db6dd89031a5d6..964a70c4a0a46fa2e1a5ee1a6f8b002d773f0778 100644 |
--- a/chrome/browser/password_manager/native_backend_kwallet_x.cc |
+++ b/chrome/browser/password_manager/native_backend_kwallet_x.cc |
@@ -682,7 +682,7 @@ bool NativeBackendKWallet::CheckSerializedValue(const uint8_t* byte_array, |
void NativeBackendKWallet::DeserializeValue(const std::string& signon_realm, |
const Pickle& pickle, |
PasswordFormList* forms) { |
- void* iter = NULL; |
+ PickleIterator iter(pickle); |
int version = -1; |
if (!pickle.ReadInt(&iter, &version) || version != kPickleVersion) { |
@@ -739,7 +739,7 @@ void NativeBackendKWallet::DeserializeValue(const std::string& signon_realm, |
} |
} |
-bool NativeBackendKWallet::ReadGURL(const Pickle& pickle, void** iter, |
+bool NativeBackendKWallet::ReadGURL(const Pickle& pickle, PickleIterator* iter, |
GURL* url) { |
std::string url_string; |
if (!pickle.ReadString(iter, &url_string)) { |