void HistoryUIBrowserTest::AddPageToHistory(
int hour_offset, const std::string& url, const std::string& title) {
// We need the ID scope and page ID so that the visit tracker can find it.
- const void* id_scope = reinterpret_cast<void*>(1);
+ const history::ContextID id_scope = reinterpret_cast<history::ContextID>(1);
base::Time time = baseline_time_ + base::TimeDelta::FromHours(hour_offset);
GURL gurl = GURL(url);