[Webkit-unassigned] [Bug 194686] New: Refactor EditingStyle::textDirection to return an Optional<WritingDirection> instead of a bool
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 14 17:37:42 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=194686
Bug ID: 194686
Summary: Refactor EditingStyle::textDirection to return an
Optional<WritingDirection> instead of a bool
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: wenson_hsieh at apple.com
CC: wenson_hsieh at apple.com
bool textDirection(WritingDirection&) is a little clunky.
A more modern idiom for these kinds of methods is to return an Optional<T> instead, where nullopt corresponds to a false return value.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190215/992af2c5/attachment.html>
More information about the webkit-unassigned
mailing list