WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
88063
Cleanup GeneratorGeneratedImage/Gradient changes from
http://trac.webkit.org/changeset/117858
https://bugs.webkit.org/show_bug.cgi?id=88063
Summary
Cleanup GeneratorGeneratedImage/Gradient changes from http://trac.webkit.org/...
Tim Horton
Reported
2012-06-01 01:22:00 PDT
There are a bunch of review comments from
http://trac.webkit.org/changeset/117858
(in
https://bugs.webkit.org/show_bug.cgi?id=86906
) which I haven't yet taken care of. I have a patch to fix all but one (we still have a timer-per-GeneratorGeneratedImage) of the comments.
Attachments
patch
(11.77 KB, patch)
2012-06-01 01:23 PDT
,
Tim Horton
simon.fraser
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2012-06-01 01:23:33 PDT
Created
attachment 145238
[details]
patch
Simon Fraser (smfr)
Comment 2
2012-06-01 08:24:29 PDT
Comment on
attachment 145238
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=145238&action=review
> Source/WebCore/platform/graphics/GeneratorGeneratedImage.cpp:65 > > - if (!m_cachedImageBuffer > - || m_cachedGeneratorHash != generatorHash > - || m_cachedAdjustedSize != adjustedSize > - || !destContext->isCompatibleWithBuffer(m_cachedImageBuffer.get())) { > - // Create a BitmapImage and call drawPattern on it. > + if (!m_cachedImageBuffer || m_cachedGeneratorHash != generatorHash || m_cachedAdjustedSize != adjustedSize || !destContext->isCompatibleWithBuffer(m_cachedImageBuffer.get())) {
If the patch to draw() has been checked in by now, that will need the same cleanup.
> Source/WebCore/platform/graphics/GraphicsContext.cpp:767 > + if (a.xScale() != b.xScale() || a.yScale() != b.yScale()) > + return false;
return a.xScale() == b.xScale() && a.yScale() == b.yScale()?
Tim Horton
Comment 3
2012-06-01 18:39:06 PDT
http://trac.webkit.org/changeset/119307
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug