Skip to content

Commit

Permalink
Linter Error is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
soner-yuksel committed Oct 24, 2023
1 parent b600ca7 commit 5bd0aac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ios/browser/api/history/brave_history_api.mm
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,9 @@ - (void)removeHistory:(IOSHistoryNode*)history {
std::vector<history::BrowsingHistoryService::HistoryEntry> entries;
history::BrowsingHistoryService::HistoryEntry entry;
entry.url = net::GURLWithNSURL(history.url);
entry.all_timestamps.insert(
base::Time::FromNSDate(history.dateAdded).ToDeltaSinceWindowsEpoch().InMicroseconds());
entry.all_timestamps.insert(base::Time::FromNSDate(history.dateAdded)
.ToDeltaSinceWindowsEpoch()
.InMicroseconds());
entries.push_back(entry);

_browsingHistoryService->RemoveVisits(entries);
Expand Down

0 comments on commit 5bd0aac

Please sign in to comment.