From 802376eb9aacca5284b76da93face73a9488bdb6 Mon Sep 17 00:00:00 2001 From: "stoyan@chromium.org" Date: Thu, 28 May 2009 19:12:46 +0000 Subject: Make automation proxy objects to ref_counted. That allows to process async notifications directly in channel background thread. Add support for listener-less ChannelProxy. BUG=none TEST=none Review URL: http://codereview.chromium.org/113722 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17093 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/crash_recovery_uitest.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser/crash_recovery_uitest.cc') diff --git a/chrome/browser/crash_recovery_uitest.cc b/chrome/browser/crash_recovery_uitest.cc index 551e323..2a39152 100644 --- a/chrome/browser/crash_recovery_uitest.cc +++ b/chrome/browser/crash_recovery_uitest.cc @@ -27,7 +27,7 @@ TEST_F(CrashRecoveryUITest, Reload) { std::wstring title1 = GetActiveTabTitle(); - scoped_ptr tab(GetActiveTab()); + scoped_refptr tab(GetActiveTab()); // Cause the renderer to crash. expected_crashes_ = 1; @@ -61,7 +61,7 @@ TEST_F(CrashRecoveryUITest, LoadInNewTab) { const std::wstring title(L"Title Of Awesomeness"); EXPECT_EQ(title, GetActiveTabTitle()); - scoped_ptr tab(GetActiveTab()); + scoped_refptr tab(GetActiveTab()); // Cause the renderer to crash. expected_crashes_ = 1; @@ -70,7 +70,7 @@ TEST_F(CrashRecoveryUITest, LoadInNewTab) { // Wait for the browser to notice the renderer crash. PlatformThread::Sleep(1000); - scoped_ptr browser_proxy(automation()->GetBrowserWindow(0)); + scoped_refptr browser_proxy(automation()->GetBrowserWindow(0)); ASSERT_TRUE(browser_proxy->AppendTab(url)); // Ensure the title of the new tab is updated, indicating that the navigation -- cgit v1.1