[Webkit-unassigned] [Bug 184356] Tighten ImageSource to have BitmapImage pointer instead of Image

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 6 07:43:10 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=184356

--- Comment #5 from Antti Koivisto <koivisto at iki.fi> ---
> There are places of the code which use isBitmapImage() and others use
> is<BitmapImage>(). I do not know the rule here and I don't know which way is
> more preferable. But I think we should be consistent and use one way or the
> other all over the code.

I think it is good to always use is<> when paired with downcast<>. The safety of the code is then immediately obvious.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180406/4c49c082/attachment-0002.html>


More information about the webkit-unassigned mailing list