Index: chrome/browser/visitedlink/visitedlink_unittest.cc |
diff --git a/chrome/browser/visitedlink/visitedlink_unittest.cc b/chrome/browser/visitedlink/visitedlink_unittest.cc |
index f0b4f7ff25d3c5c5768ecb679890657d547bdcdb..39af08ec06833f1a5cc7e4c1c83f55bc6c6e3f79 100644 |
--- a/chrome/browser/visitedlink/visitedlink_unittest.cc |
+++ b/chrome/browser/visitedlink/visitedlink_unittest.cc |
@@ -526,7 +526,7 @@ class VisitRelayingRenderProcessHost : public MockRenderProcessHost { |
Profile::FromBrowserContext(GetBrowserContext())); |
if (msg->type() == ChromeViewMsg_VisitedLink_Add::ID) { |
- void* iter = NULL; |
+ PickleIterator iter(*msg); |
std::vector<uint64> fingerprints; |
CHECK(IPC::ReadParam(msg, &iter, &fingerprints)); |
counting_profile->CountAddEvent(fingerprints.size()); |