Bug 116406 - Hoist several chunks of code at the top of RenderLayer::paintLayerContents() onto new functions
Summary: Hoist several chunks of code at the top of RenderLayer::paintLayerContents() ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-18 17:58 PDT by Simon Fraser (smfr)
Modified: 2013-05-19 19:26 PDT (History)
14 users (show)

See Also:


Attachments
Patch (23.08 KB, patch)
2013-05-18 18:04 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Patch (23.08 KB, patch)
2013-05-18 18:36 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Patch (23.11 KB, patch)
2013-05-18 18:45 PDT, Simon Fraser (smfr)
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2013-05-18 17:58:31 PDT
Hoist several chunks of code at the top of RenderLayer::paintLayerContents() onto new functions
Comment 1 Simon Fraser (smfr) 2013-05-18 18:04:30 PDT
Created attachment 202224 [details]
Patch
Comment 2 WebKit Commit Bot 2013-05-18 18:06:29 PDT
Attachment 202224 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/rendering/FilterEffectRenderer.cpp', u'Source/WebCore/rendering/FilterEffectRenderer.h', u'Source/WebCore/rendering/RenderLayer.cpp', u'Source/WebCore/rendering/RenderLayer.h']" exit_code: 1
Source/WebCore/ChangeLog:12:  Need whitespace between colon and description  [changelog/filechangedescriptionwhitespace] [5]
Source/WebCore/ChangeLog:14:  Need whitespace between colon and description  [changelog/filechangedescriptionwhitespace] [5]
Source/WebCore/ChangeLog:15:  Need whitespace between colon and description  [changelog/filechangedescriptionwhitespace] [5]
Total errors found: 3 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 EFL EWS Bot 2013-05-18 18:08:27 PDT
Comment on attachment 202224 [details]
Patch

Attachment 202224 [details] did not pass efl-ews (efl):
Output: http://webkit-queues.appspot.com/results/494832
Comment 4 Early Warning System Bot 2013-05-18 18:09:20 PDT
Comment on attachment 202224 [details]
Patch

Attachment 202224 [details] did not pass qt-ews (qt):
Output: http://webkit-queues.appspot.com/results/493800
Comment 5 EFL EWS Bot 2013-05-18 18:09:56 PDT
Comment on attachment 202224 [details]
Patch

Attachment 202224 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/494833
Comment 6 Early Warning System Bot 2013-05-18 18:11:48 PDT
Comment on attachment 202224 [details]
Patch

Attachment 202224 [details] did not pass qt-wk2-ews (qt-wk2):
Output: http://webkit-queues.appspot.com/results/497538
Comment 7 kov's GTK+ EWS bot 2013-05-18 18:20:21 PDT
Comment on attachment 202224 [details]
Patch

Attachment 202224 [details] did not pass gtk-ews (gtk):
Output: http://webkit-queues.appspot.com/results/493804
Comment 8 Build Bot 2013-05-18 18:31:39 PDT
Comment on attachment 202224 [details]
Patch

Attachment 202224 [details] did not pass win-ews (win):
Output: http://webkit-queues.appspot.com/results/486941
Comment 9 Simon Fraser (smfr) 2013-05-18 18:36:05 PDT
Created attachment 202225 [details]
Patch
Comment 10 Early Warning System Bot 2013-05-18 18:41:33 PDT
Comment on attachment 202225 [details]
Patch

Attachment 202225 [details] did not pass qt-wk2-ews (qt-wk2):
Output: http://webkit-queues.appspot.com/results/493810
Comment 11 Early Warning System Bot 2013-05-18 18:41:41 PDT
Comment on attachment 202225 [details]
Patch

Attachment 202225 [details] did not pass qt-ews (qt):
Output: http://webkit-queues.appspot.com/results/490871
Comment 12 Simon Fraser (smfr) 2013-05-18 18:45:28 PDT
Created attachment 202226 [details]
Patch
Comment 13 Andreas Kling 2013-05-18 18:48:01 PDT
Comment on attachment 202226 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=202226&action=review

r=me.

> Source/WebCore/rendering/RenderLayer.cpp:3691
> +bool RenderLayer::setupFontSubpixelQuantization(GraphicsContext* context, bool &didQuantizeFonts)

& placement.

> Source/WebCore/rendering/RenderLayer.cpp:3725
> +    if (!style)
> +        return false;

This could be an assertion instead; 'style' won't be null if the renderer has a clip path.

> Source/WebCore/rendering/RenderLayer.h:939
> +    bool setupFontSubpixelQuantization(GraphicsContext*, bool &didQuantizeFonts);

& placement.
Comment 14 Simon Fraser (smfr) 2013-05-19 19:26:58 PDT
http://trac.webkit.org/changeset/150349