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

Issue 6360015: Removes debugging code as cause of crash was found. I'm TBRing as this (Closed)

Created:
9 years, 11 months ago by sky
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Removes debugging code as cause of crash was found. I'm TBRing as this just converts some CHECKs to DCHECKs. BUG=62872 TEST=none TBR=ben@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72367

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M views/controls/menu/menu_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
sky
9 years, 11 months ago (2011-01-24 17:34:09 UTC) #1
Ben Goodger (Google)
9 years, 11 months ago (2011-01-25 17:01:29 UTC) #2
OK

On Mon, Jan 24, 2011 at 9:34 AM, <sky@chromium.org> wrote:

> Reviewers: Ben Goodger,
>
> Description:
> Removes debugging code as cause of crash was found. I'm TBRing as this
> just converts some CHECKs to DCHECKs.
>
> BUG=62872
> TEST=none
> TBR=ben@chromium.org
>
> Please review this at http://codereview.chromium.org/6360015/
>
> SVN Base: svn://svn.chromium.org/chrome/trunk/src
>
> Affected files:
>  M views/controls/menu/menu_controller.cc
>
>
> Index: views/controls/menu/menu_controller.cc
> diff --git a/views/controls/menu/menu_controller.cc
> b/views/controls/menu/menu_controller.cc
> index
>
dbc31a4d7a26b92f77565564cfdb218c00d79eb9..af4c2762735c66a313dfed2fa7b756debd0ba3b6
> 100644
> --- a/views/controls/menu/menu_controller.cc
> +++ b/views/controls/menu/menu_controller.cc
> @@ -745,7 +745,7 @@ void MenuController::SetSelection(MenuItemView*
> menu_item,
>   if (menu_item && menu_item->GetDelegate())
>     menu_item->GetDelegate()->SelectionChanged(menu_item);
>
> -  CHECK(menu_item || (selection_types & SELECTION_EXIT) != 0);
> +  DCHECK(menu_item || (selection_types & SELECTION_EXIT) != 0);
>
>   pending_state_.item = menu_item;
>   pending_state_.submenu_open = (selection_types & SELECTION_OPEN_SUBMENU)
> != 0;
> @@ -1668,7 +1668,7 @@ void MenuController::RepostEvent(SubmenuView* source,
>     // We some times get an event after closing all the menus. Ignore it.
>     // Make sure the menu is in fact not visible. If the menu is visible,
> then
>     // we're in a bad state where we think the menu isn't visibile but it
> is.
> -    CHECK(!source->GetWidget()->IsVisible());
> +    DCHECK(!source->GetWidget()->IsVisible());
>     return;
>   }
>
>
>
>

Powered by Google App Engine
This is Rietveld 408576698