| Index: chrome/browser/host_zoom_map.cc
|
| diff --git a/chrome/browser/host_zoom_map.cc b/chrome/browser/host_zoom_map.cc
|
| index 3dc257b677530b112700293ccdc0a60c1e68c1bc..0aefe2b28a5e4c5b701c9e754eecf861958e1c39 100644
|
| --- a/chrome/browser/host_zoom_map.cc
|
| +++ b/chrome/browser/host_zoom_map.cc
|
| @@ -100,7 +100,7 @@ double HostZoomMap::GetZoomLevel(const GURL& url) const {
|
| return (i == host_zoom_levels_.end()) ? default_zoom_level_ : i->second;
|
| }
|
|
|
| -void HostZoomMap::SetZoomLevel(const GURL& url, double level) {
|
| +void HostZoomMap::SetZoomLevel(const GURL& url, int request_id, double level) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| if (!profile_)
|
| return;
|
| @@ -117,7 +117,7 @@ void HostZoomMap::SetZoomLevel(const GURL& url, double level) {
|
|
|
| NotificationService::current()->Notify(NotificationType::ZOOM_LEVEL_CHANGED,
|
| Source<Profile>(profile_),
|
| - NotificationService::NoDetails());
|
| + Details<int>(&request_id));
|
|
|
| // If we're in incognito mode, don't persist changes to the prefs. We'll keep
|
| // them in memory only so they will be forgotten on exiting incognito.
|
| @@ -153,6 +153,7 @@ double HostZoomMap::GetTemporaryZoomLevel(int render_process_id,
|
|
|
| void HostZoomMap::SetTemporaryZoomLevel(int render_process_id,
|
| int render_view_id,
|
| + int request_id,
|
| double level) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| if (!profile_)
|
| @@ -184,7 +185,7 @@ void HostZoomMap::SetTemporaryZoomLevel(int render_process_id,
|
|
|
| NotificationService::current()->Notify(NotificationType::ZOOM_LEVEL_CHANGED,
|
| Source<Profile>(profile_),
|
| - NotificationService::NoDetails());
|
| + Details<int>(&request_id));
|
| }
|
|
|
| void HostZoomMap::ResetToDefaults() {
|
|
|