Bug 188444 - memoryFootprint should return size_t not optional<size_t>
Summary: memoryFootprint should return size_t not optional<size_t>
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Saam Barati
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-08-09 10:53 PDT by Saam Barati
Modified: 2018-08-09 13:14 PDT (History)
9 users (show)

See Also:


Attachments
patch (10.24 KB, patch)
2018-08-09 11:14 PDT, Saam Barati
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Saam Barati 2018-08-09 10:53:48 PDT
Let's return zero if things fail. Users of this api just call value_or(0)
Comment 1 Saam Barati 2018-08-09 11:14:50 PDT
Created attachment 346848 [details]
patch
Comment 2 WebKit Commit Bot 2018-08-09 13:13:35 PDT
Comment on attachment 346848 [details]
patch

Clearing flags on attachment: 346848

Committed r234733: <https://trac.webkit.org/changeset/234733>
Comment 3 WebKit Commit Bot 2018-08-09 13:13:36 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2018-08-09 13:14:24 PDT
<rdar://problem/43107631>