forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1463299: Add RefPtr::forget special case for ambiguous nsISupport…
…s casts. r=bz When we use RefPtr with nsISupports sub-classes, it's usually because the type cannot be unambiguously cast to nsISupports. We already have a ToSupports generic function to resolve ambiguity in these cases, so we may as well use it here. MozReview-Commit-ID: FaHhPKAPn6j --HG-- extra : rebase_source : dd8f3707bdebedfe559aed0caf2c3b0c49163735 extra : histedit_source : 9805787a169329b9c739dfa456cfe6a61a22b7d7
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
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