RESOLVED FIXED 148216
[Cocoa] Clean up Font class
https://bugs.webkit.org/show_bug.cgi?id=148216
Summary [Cocoa] Clean up Font class
Myles C. Maxfield
Reported 2015-08-20 01:04:45 PDT
[Cocoa] Clean up Font class
Attachments
Patch (26.80 KB, patch)
2015-08-20 01:15 PDT, Myles C. Maxfield
no flags
Archive of layout-test-results from ews105 for mac-mavericks-wk2 (337.52 KB, application/zip)
2015-08-20 01:56 PDT, Build Bot
no flags
Archive of layout-test-results from ews101 for mac-mavericks (346.09 KB, application/zip)
2015-08-20 02:08 PDT, Build Bot
no flags
Patch (6.33 KB, patch)
2015-08-20 19:34 PDT, Myles C. Maxfield
no flags
Archive of layout-test-results from ews103 for mac-mavericks (827.73 KB, application/zip)
2015-08-20 20:16 PDT, Build Bot
no flags
Patch (6.36 KB, patch)
2015-08-20 20:19 PDT, Myles C. Maxfield
dino: review+
Myles C. Maxfield
Comment 1 2015-08-20 01:15:32 PDT
Build Bot
Comment 2 2015-08-20 01:56:27 PDT
Comment on attachment 259458 [details] Patch Attachment 259458 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/78426 Number of test failures exceeded the failure limit.
Build Bot
Comment 3 2015-08-20 01:56:30 PDT
Created attachment 259462 [details] Archive of layout-test-results from ews105 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Myles C. Maxfield
Comment 4 2015-08-20 02:01:02 PDT
Comment on attachment 259458 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=259458&action=review > Source/WebCore/platform/graphics/ios/FontCacheIOS.mm:-111 > -#if __IPHONE_OS_VERSION_MIN_REQUIRED < 90000 There's a big block above that I can delete too.
Build Bot
Comment 5 2015-08-20 02:08:46 PDT
Comment on attachment 259458 [details] Patch Attachment 259458 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/78443 Number of test failures exceeded the failure limit.
Build Bot
Comment 6 2015-08-20 02:08:48 PDT
Created attachment 259463 [details] Archive of layout-test-results from ews101 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
Myles C. Maxfield
Comment 7 2015-08-20 19:34:33 PDT
Build Bot
Comment 8 2015-08-20 20:16:13 PDT
Comment on attachment 259566 [details] Patch Attachment 259566 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/83981 Number of test failures exceeded the failure limit.
Build Bot
Comment 9 2015-08-20 20:16:16 PDT
Created attachment 259575 [details] Archive of layout-test-results from ews103 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-mavericks Platform: Mac OS X 10.9.5
Myles C. Maxfield
Comment 10 2015-08-20 20:19:38 PDT
Dean Jackson
Comment 11 2015-08-21 13:38:46 PDT
Comment on attachment 259576 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=259576&action=review > Source/WebCore/platform/graphics/Font.cpp:-126 > - m_spaceGlyph = 0; > - m_spaceWidth = 0; > - m_zeroGlyph = 0; > - m_adjustedSpaceWidth = 0; > determinePitch(); > - m_zeroWidthSpaceGlyph = 0; I assume it isn't a behaviour change if glyphPageZero isn't null? (you're now initialising all these to 0 elsewhere)
Myles C. Maxfield
Comment 12 2015-08-21 16:32:40 PDT
Comment on attachment 259576 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=259576&action=review >> Source/WebCore/platform/graphics/Font.cpp:-126 >> - m_zeroWidthSpaceGlyph = 0; > > I assume it isn't a behaviour change if glyphPageZero isn't null? (you're now initialising all these to 0 elsewhere) They get initialized directly below this. Lines 127 to 138.
Myles C. Maxfield
Comment 13 2015-08-21 16:34:19 PDT
Note You need to log in before you can comment on or make changes to this bug.