WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
194686
Refactor EditingStyle::textDirection to return an Optional<WritingDirection> instead of a bool
https://bugs.webkit.org/show_bug.cgi?id=194686
Summary
Refactor EditingStyle::textDirection to return an Optional<WritingDirection> ...
Wenson Hsieh
Reported
2019-02-14 17:37:42 PST
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.
Attachments
Patch
(8.33 KB, patch)
2019-02-14 18:35 PST
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Wenson Hsieh
Comment 1
2019-02-14 18:35:08 PST
Created
attachment 362089
[details]
Patch
WebKit Commit Bot
Comment 2
2019-02-15 08:52:39 PST
Comment on
attachment 362089
[details]
Patch Clearing flags on attachment: 362089 Committed
r241588
: <
https://trac.webkit.org/changeset/241588
>
WebKit Commit Bot
Comment 3
2019-02-15 08:52:41 PST
All reviewed patches have been landed. Closing bug.
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