From 600c3f2c2f4c77fc343ca6d89629f312aec24ac7 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Wed, 9 Jan 2019 15:28:42 -0800 Subject: [PATCH] StoragePartition::ClearData no longer takes an OriginMatcher https://chromium-review.googlesource.com/c/1162172 --- atom/browser/api/atom_api_session.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/atom/browser/api/atom_api_session.cc b/atom/browser/api/atom_api_session.cc index e73b1e52c839..4a4122228819 100644 --- a/atom/browser/api/atom_api_session.cc +++ b/atom/browser/api/atom_api_session.cc @@ -444,10 +444,9 @@ void Session::ClearStorageData(mate::Arguments* args) { // https://w3c.github.io/mediacapture-main/#dom-mediadeviceinfo-deviceid MediaDeviceIDSalt::Reset(browser_context()->prefs()); } - storage_partition->ClearData( - options.storage_types, options.quota_types, options.origin, - content::StoragePartition::OriginMatcherFunction(), base::Time(), - base::Time::Max(), base::Bind(&OnClearStorageDataDone, callback)); + storage_partition->ClearData(options.storage_types, options.quota_types, + options.origin, base::Time(), base::Time::Max(), + base::Bind(&OnClearStorageDataDone, callback)); } void Session::FlushStorageData() {