Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
libwebkit
webkit-cairo-canvas-r34625-for-1.0.1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File webkit-cairo-canvas-r34625-for-1.0.1.patch of Package libwebkit
--- a/WebCore/platform/graphics/BitmapImage.cpp +++ b/WebCore/platform/graphics/BitmapImage.cpp @@ -203,7 +203,7 @@ float BitmapImage::frameDurationAtIndex(size_t index) bool BitmapImage::frameHasAlphaAtIndex(size_t index) { if (index >= frameCount()) - return 0; + return true; if (index >= m_frames.size() || !m_frames[index].m_frame) cacheFrame(index); --- a/WebCore/platform/graphics/cairo/ImageCairo.cpp +++ b/WebCore/platform/graphics/cairo/ImageCairo.cpp @@ -76,6 +76,7 @@ BitmapImage::BitmapImage(cairo_surface_t* surface, ImageObserver* observer) m_frames.grow(1); m_frames[0].m_frame = surface; + m_frames[0].m_hasAlpha = cairo_surface_get_content(surface) != CAIRO_CONTENT_COLOR; checkForSolidColor(); } --- a/WebCore/platform/graphics/cg/ImageCG.cpp +++ b/WebCore/platform/graphics/cg/ImageCG.cpp @@ -87,6 +87,7 @@ BitmapImage::BitmapImage(CGImageRef cgImage, ImageObserver* observer) m_frames.grow(1); m_frames[0].m_frame = cgImage; + m_frames[0].m_hasAlpha = true; checkForSolidColor(); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor