Bug 59043 - wx port should implement BitmapImage::checkForSolidColor()
Summary: wx port should implement BitmapImage::checkForSolidColor()
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-20 17:03 PDT by Pratik Solanki
Modified: 2011-04-20 17:10 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pratik Solanki 2011-04-20 17:03:10 PDT
The implementation of the above function is

void BitmapImage::checkForSolidColor()
{
    m_checkedForSolidColor = true;
}

This should be correctly implemented so it sets m_isSolidColor to true when you have 1x1 image with 1 frame so it can make use os optimization in Image.cpp that does a color fill when you're drawing a 1x1 image.