[Webkit-unassigned] [Bug 113492] [Chromium] Bad cast from BitmapImageSingleFrameSkia to BitmapImage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 28 02:47:07 PDT 2013


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


Christophe Dumez <dchris at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamesr at chromium.org,
                   |                            |tomhudson at google.com




--- Comment #2 from Christophe Dumez <dchris at gmail.com>  2013-03-28 02:45:17 PST ---
I'm still unsure how to best fix it.

IMHO BitmapImageSingleFrameSkia::isBitmapImage() should probably not return true as BitmapImageSingleFrameSkia doesn't subclass BitmapImage.

Image::isBitmapImage() is often used for downcasting from Image to BitmapImage as it is done in createDragImageFromImage().

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list