| Summary: | Subpixel layout: Cleanup snapSizeToPixel/snapSizeToDevicePixel. | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||||||||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, kondapallykalyan, simon.fraser | ||||||||||||
| Priority: | P2 | ||||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Bug Depends on: | |||||||||||||||
| Bug Blocks: | 136275 | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
zalan
2014-08-26 12:35:21 PDT
Created attachment 237166 [details]
Patch
Comment on attachment 237166 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=237166&action=review r- because snapSize with a local point is meaningless. > Source/WebCore/platform/LayoutUnit.h:919 > +inline int snapSizeToInt(LayoutUnit size, LayoutUnit location) Three things make me sad about this. "snap" outside of pixel snapping, "size" which is not a LayoutSize and "location" that is not a layout point. Can we just remove this and down the work inside LayoutRect? Created attachment 237198 [details]
Patch
Attachment 237198 [details] did not pass style-queue:
ERROR: Source/WebCore/platform/graphics/LayoutPoint.h:184: Place brace on its own line for function definitions. [whitespace/braces] [4]
ERROR: Source/WebCore/platform/graphics/LayoutPoint.h:210: Place brace on its own line for function definitions. [whitespace/braces] [4]
Total errors found: 2 in 12 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 237246 [details]
Patch
Attachment 237246 [details] did not pass style-queue:
ERROR: Source/WebCore/platform/graphics/LayoutPoint.h:184: Place brace on its own line for function definitions. [whitespace/braces] [4]
ERROR: Source/WebCore/platform/graphics/LayoutPoint.h:209: Place brace on its own line for function definitions. [whitespace/braces] [4]
Total errors found: 2 in 11 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 237287 [details]
Patch
Comment on attachment 237287 [details] Patch Rejecting attachment 237287 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 237287, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Tools/ChangeLog contains OOPS!. Full output: http://webkit-queues.appspot.com/results/4801182182670336 Created attachment 237288 [details]
Patch
Comment on attachment 237288 [details] Patch Clearing flags on attachment: 237288 Committed r173049: <http://trac.webkit.org/changeset/173049> All reviewed patches have been landed. Closing bug. |