[Webkit-unassigned] [Bug 90757] New: BitmapImage::frameIsCompleteAtIndex() must return false if ImageDecoder is not initialized.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 8 23:59:52 PDT 2012


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

           Summary: BitmapImage::frameIsCompleteAtIndex() must return
                    false if ImageDecoder is not initialized.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Images
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: luxtella at company100.net


The current code fortunately has worked so far because only BitmapImage::startAnimation calls frameIsCompleteAtIndex, and startAnimation cannot call frameIsCompleteAtIndex if ImageDecoder is not yet initialized. startAnimation returns at the first line becase shouldAnimate() always return false in this case.

        if (m_frameTimer || !shouldAnimate() || frameCount() <= 1)
            return;

This change is needed because parallel image decoders call BitmapImage::frameIsCompleteAtIndex in other places too.

-- 
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