Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Issue 6321010: Fix ChromeFrame perf redness caused by the change to move the creation of the... (Closed)

Created:
9 years, 11 months ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
amit
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix ChromeFrame perf redness caused by the change to move the creation of the proxy launcher to UITest::Setup. ChromeFrame perf tests override the Setup method and don't invoke the Base UITest::Setup implementation. This causes a crash in UITest::TearDown invoked during the ChromeFrame perf test runs where we crash as the launcher is NULL. Added a check for the same. BUG=none TEST=chrome frame perf tests. TBR=amit Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71733

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M chrome/test/ui/ui_test.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
ananta
9 years, 11 months ago (2011-01-19 00:22:20 UTC) #1
amit
9 years, 11 months ago (2011-01-19 00:26:25 UTC) #2
ok

On Tue, Jan 18, 2011 at 4:22 PM, <ananta@chromium.org> wrote:

> Reviewers: amit,
>
> Description:
> Fix ChromeFrame perf redness caused by the change to move the creation of
> the
> proxy launcher
> to UITest::Setup. ChromeFrame perf tests override the Setup method and
> don't
> invoke the Base
> UITest::Setup implementation.
>
> This causes a crash in UITest::TearDown invoked during the ChromeFrame perf
> test
> runs where
> we crash as the launcher is NULL. Added a check for the same.
>
> BUG=none
> TEST=chrome frame perf tests.
> TBR=amit
>
>
> Please review this at http://codereview.chromium.org/6321010/
>
> SVN Base: svn://svn.chromium.org/chrome/trunk/src/
>
> Affected files:
>  M     chrome/test/ui/ui_test.cc
>
>
> Index: chrome/test/ui/ui_test.cc
> ===================================================================
> --- chrome/test/ui/ui_test.cc   (revision 71693)
> +++ chrome/test/ui/ui_test.cc   (working copy)
> @@ -196,7 +196,8 @@
>  }
>
>  void UITestBase::CloseBrowserAndServer() {
> -  launcher_->CloseBrowserAndServer(shutdown_type_);
> +  if (launcher_.get())
> +    launcher_->CloseBrowserAndServer(shutdown_type_);
>  }
>
>  void UITestBase::LaunchBrowser(const CommandLine& arguments,
>
>
>

Powered by Google App Engine
This is Rietveld 408576698