WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
111229
Don't apply page scale to clipRect if applyPageScaleFactorInCompositor is set to true
https://bugs.webkit.org/show_bug.cgi?id=111229
Summary
Don't apply page scale to clipRect if applyPageScaleFactorInCompositor is set...
Min Qin
Reported
2013-03-01 15:55:48 PST
Don't apply page scale to clipRect if applyPageScaleFactorInCompositor is set to true
Attachments
Patch
(1.87 KB, patch)
2013-03-01 16:04 PST
,
Min Qin
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Min Qin
Comment 1
2013-03-01 16:04:29 PST
Created
attachment 191060
[details]
Patch
Xianzhu Wang
Comment 2
2013-03-04 10:21:14 PST
Comment on
attachment 191060
[details]
Patch CQ+ per Min's request.
WebKit Review Bot
Comment 3
2013-03-04 10:25:19 PST
Comment on
attachment 191060
[details]
Patch Clearing flags on attachment: 191060 Committed
r144642
: <
http://trac.webkit.org/changeset/144642
>
WebKit Review Bot
Comment 4
2013-03-04 10:25:22 PST
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 5
2013-03-04 14:32:41 PST
Comment on
attachment 191060
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=191060&action=review
> Source/WebCore/rendering/RenderLayerCompositor.cpp:787 > + if (Settings* settings = m_renderView->document()->settings()) > + if (!settings->applyPageScaleFactorInCompositor()) > + clipRect.scale(pageScaleFactor());
WebKit coding style requires braces around the body of the outer if since the inner if is two lines long.
Min Qin
Comment 6
2013-03-04 15:02:16 PST
(In reply to
comment #5
)
> (From update of
attachment 191060
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=191060&action=review
> > > Source/WebCore/rendering/RenderLayerCompositor.cpp:787 > > + if (Settings* settings = m_renderView->document()->settings()) > > + if (!settings->applyPageScaleFactorInCompositor()) > > + clipRect.scale(pageScaleFactor()); > > WebKit coding style requires braces around the body of the outer if since the inner if is two lines long.
hmm... this file seems to have the same style error in another place. will fix both in a separate patch.
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