forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DCHECK while invoking extension infobar context menu for the second time
DCHECK failure occurs while trying to destroy the ExtensionContextMenuModel object in InfoBarGtk without calling RefCounted::Release(). Since ExtensionContextMenuModel is a refcounted class, its object needs to be managed correctly with RefCounted::AddRef() & RefCounted::Release(). Moving the ownership of Menu Model to the sub classes of InfoBarGtk to achieve this. BUG=172921 TEST= Context menu opens for 'Sandwich' infobar sample extension without crash for the second time. Review URL: https://chromiumcodereview.appspot.com/12092047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180898 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
MHX348@motorola.com
authored and
MHX348@motorola.com
committed
Feb 6, 2013
1 parent
c49bcb6
commit e086357
Showing
6 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters