I tend to use the WidgetEventPtr() or WidgetEventRef() for situations where I need a decorator to avoid colliding with the type name. Maybe try that?
bholley On Wed, Feb 10, 2016 at 8:57 PM, Aidin Gharibnavaz <ai...@aidinhut.com> wrote: > In Bug 1235830 <https://bugzilla.mozilla.org/show_bug.cgi?id=1235830>, I'm > going to rename this method to something more meaningful. I need suggestion > about what the name should be. > > Summary of the discussion so far: > > * WidgetEvent() can't be used, since it's also the name of a type. > * GetWidgetEvent() is good, but may suggests that method can return > nullptr. > * AsWidgetEvent() don't have this ambiguousness, but is not a good name. > > Any other ideas? > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform