Commit a5f2695d authored by thestig@chromium.org's avatar thestig@chromium.org

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
parent db9b9ef4
...@@ -269,7 +269,7 @@ IN_PROC_BROWSER_TEST_F(PDFBrowserTest, MAYBE_FindAndCopy) { ...@@ -269,7 +269,7 @@ IN_PROC_BROWSER_TEST_F(PDFBrowserTest, MAYBE_FindAndCopy) {
// This also loads all documents that used to crash, to ensure we don't have // This also loads all documents that used to crash, to ensure we don't have
// regressions. // regressions.
// Flaky as per http://crbug.com/74548. // Flaky as per http://crbug.com/74548.
IN_PROC_BROWSER_TEST_F(PDFBrowserTest, DISABLED_SLOW_Loading) { IN_PROC_BROWSER_TEST_F(PDFBrowserTest, FLAKY_SLOW_Loading) {
ASSERT_TRUE(pdf_test_server()->Start()); ASSERT_TRUE(pdf_test_server()->Start());
NavigationController* controller = NavigationController* controller =
......
...@@ -90,9 +90,11 @@ void HostZoomMap::SetTemporaryZoomLevel(int render_process_id, ...@@ -90,9 +90,11 @@ void HostZoomMap::SetTemporaryZoomLevel(int render_process_id,
} }
} }
std::string host;
NotificationService::current()->Notify(NotificationType::ZOOM_LEVEL_CHANGED, NotificationService::current()->Notify(NotificationType::ZOOM_LEVEL_CHANGED,
Source<HostZoomMap>(this), Source<HostZoomMap>(this),
NotificationService::NoDetails()); Details<const std::string>(&host));
} }
void HostZoomMap::Observe( void HostZoomMap::Observe(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment