summaryrefslogtreecommitdiffstats
path: root/content/browser
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-24 07:45:16 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-24 07:45:16 +0000
commita5f2695dda6c7175e328a6d4e4bc5e873c2668e8 (patch)
tree803876a522551b68767223536428ef87ae08c142 /content/browser
parentdb9b9ef42d41951c20e135b7076fb72c9869e35f (diff)
downloadchromium_src-a5f2695dda6c7175e328a6d4e4bc5e873c2668e8.zip
chromium_src-a5f2695dda6c7175e328a6d4e4bc5e873c2668e8.tar.gz
chromium_src-a5f2695dda6c7175e328a6d4e4bc5e873c2668e8.tar.bz2
Fix HostZoomMap related crash from r86367. Re-enable PDFBrowserTest.Slow_Loading.
BUG=76788 TEST=Re-enabled test does not crash. Review URL: http://codereview.chromium.org/7065018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser')
-rw-r--r--content/browser/host_zoom_map.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/browser/host_zoom_map.cc b/content/browser/host_zoom_map.cc
index 101bb28..63c1c83 100644
--- a/content/browser/host_zoom_map.cc
+++ b/content/browser/host_zoom_map.cc
@@ -90,9 +90,11 @@ void HostZoomMap::SetTemporaryZoomLevel(int render_process_id,
}
}
+ std::string host;
NotificationService::current()->Notify(NotificationType::ZOOM_LEVEL_CHANGED,
Source<HostZoomMap>(this),
- NotificationService::NoDetails());
+ Details<const std::string>(&host));
+
}
void HostZoomMap::Observe(