summaryrefslogtreecommitdiffstats
path: root/content/browser/host_zoom_map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/host_zoom_map.cc')
-rw-r--r--content/browser/host_zoom_map.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/content/browser/host_zoom_map.cc b/content/browser/host_zoom_map.cc
index 523d6d7..3d50403 100644
--- a/content/browser/host_zoom_map.cc
+++ b/content/browser/host_zoom_map.cc
@@ -188,21 +188,6 @@ void HostZoomMap::SetTemporaryZoomLevel(int render_process_id,
NotificationService::NoDetails());
}
-void HostZoomMap::ResetToDefaults() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- if (!profile_)
- return;
-
- {
- base::AutoLock auto_lock(lock_);
- host_zoom_levels_.clear();
- }
-
- updating_preferences_ = true;
- profile_->GetPrefs()->ClearPref(prefs::kPerHostZoomLevels);
- updating_preferences_ = false;
-}
-
void HostZoomMap::Shutdown() {
if (!profile_)
return;