WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
167061
[Cocoa] Unify FontPlatformData's hashing and equality operators
https://bugs.webkit.org/show_bug.cgi?id=167061
Summary
[Cocoa] Unify FontPlatformData's hashing and equality operators
Myles C. Maxfield
Reported
2017-01-14 18:35:13 PST
[Cocoa] Unify FontPlatformData's hashing and equality operators
Attachments
Patch
(8.12 KB, patch)
2017-01-14 18:39 PST
,
Myles C. Maxfield
darin
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews103 for mac-elcapitan
(296.75 KB, application/zip)
2017-01-14 19:30 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews104 for mac-elcapitan-wk2
(261.74 KB, application/zip)
2017-01-14 19:30 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews115 for mac-elcapitan
(345.29 KB, application/zip)
2017-01-14 19:44 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews123 for ios-simulator-wk2
(445.45 KB, application/zip)
2017-01-14 19:44 PST
,
Build Bot
no flags
Details
Patch for committing
(8.16 KB, patch)
2017-01-14 19:48 PST
,
Myles C. Maxfield
no flags
Details
Formatted Diff
Diff
Patch for committing
(8.16 KB, patch)
2017-01-14 21:08 PST
,
Myles C. Maxfield
no flags
Details
Formatted Diff
Diff
Patch for committing
(8.40 KB, patch)
2017-01-22 13:41 PST
,
Myles C. Maxfield
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2017-01-14 18:39:13 PST
Created
attachment 298872
[details]
Patch
Darin Adler
Comment 2
2017-01-14 19:06:09 PST
Comment on
attachment 298872
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=298872&action=review
> Source/WebCore/platform/graphics/FontPlatformData.h:-175 > - unsigned hash() const
Inlining this function was not important for performance?
> Source/WebCore/platform/graphics/cocoa/FontPlatformDataCocoa.mm:71 > + ASSERT(m_font && other.m_font);
Best practice for assertions is to always break them up into separate lines rather than doing a single assertion with &&. That way we can tell which assertion failed.
Build Bot
Comment 3
2017-01-14 19:30:08 PST
Comment on
attachment 298872
[details]
Patch
Attachment 298872
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/2890892
Number of test failures exceeded the failure limit.
Build Bot
Comment 4
2017-01-14 19:30:10 PST
Created
attachment 298873
[details]
Archive of layout-test-results from ews103 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 5
2017-01-14 19:30:34 PST
Comment on
attachment 298872
[details]
Patch
Attachment 298872
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/2890890
Number of test failures exceeded the failure limit.
Build Bot
Comment 6
2017-01-14 19:30:37 PST
Created
attachment 298874
[details]
Archive of layout-test-results from ews104 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Build Bot
Comment 7
2017-01-14 19:44:25 PST
Comment on
attachment 298872
[details]
Patch
Attachment 298872
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/2890924
Number of test failures exceeded the failure limit.
Build Bot
Comment 8
2017-01-14 19:44:27 PST
Created
attachment 298877
[details]
Archive of layout-test-results from ews115 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 9
2017-01-14 19:44:44 PST
Comment on
attachment 298872
[details]
Patch
Attachment 298872
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/2890900
Number of test failures exceeded the failure limit.
Build Bot
Comment 10
2017-01-14 19:44:47 PST
Created
attachment 298878
[details]
Archive of layout-test-results from ews123 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews123 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Myles C. Maxfield
Comment 11
2017-01-14 19:48:34 PST
Created
attachment 298879
[details]
Patch for committing
Myles C. Maxfield
Comment 12
2017-01-14 21:08:51 PST
Created
attachment 298882
[details]
Patch for committing
Myles C. Maxfield
Comment 13
2017-01-15 09:23:16 PST
Comment on
attachment 298872
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=298872&action=review
>> Source/WebCore/platform/graphics/FontPlatformData.h:-175 >> - unsigned hash() const > > Inlining this function was not important for performance?
Running PLT overnight, I don't see any regression.
WebKit Commit Bot
Comment 14
2017-01-15 09:48:07 PST
Comment on
attachment 298882
[details]
Patch for committing Clearing flags on attachment: 298882 Committed
r210778
: <
http://trac.webkit.org/changeset/210778
>
Myles C. Maxfield
Comment 15
2017-01-18 13:51:44 PST
***
Bug 161009
has been marked as a duplicate of this bug. ***
Ryan Haddad
Comment 16
2017-01-20 16:22:46 PST
Reverted
r210778
for reason: This change caused multiple LayoutTests to crash. Committed
r210997
: <
http://trac.webkit.org/changeset/210997
>
Ryan Haddad
Comment 17
2017-01-20 16:23:46 PST
***
Bug 167142
has been marked as a duplicate of this bug. ***
Myles C. Maxfield
Comment 18
2017-01-22 13:41:35 PST
Created
attachment 299482
[details]
Patch for committing
WebKit Commit Bot
Comment 19
2017-01-22 19:53:54 PST
Comment on
attachment 299482
[details]
Patch for committing Clearing flags on attachment: 299482 Committed
r211029
: <
http://trac.webkit.org/changeset/211029
>
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