WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
143273
Move ExpansionBehaviorFlags and TextDirection to their own file
https://bugs.webkit.org/show_bug.cgi?id=143273
Summary
Move ExpansionBehaviorFlags and TextDirection to their own file
Myles C. Maxfield
Reported
2015-03-31 12:23:57 PDT
Move ExpansionBehaviorFlags and TextDirection to their own file
Attachments
Patch
(52.88 KB, patch)
2015-03-31 12:25 PDT
,
Myles C. Maxfield
simon.fraser
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2015-03-31 12:25:36 PDT
Created
attachment 249841
[details]
Patch
WebKit Commit Bot
Comment 2
2015-03-31 12:26:59 PDT
Attachment 249841
[details]
did not pass style-queue: ERROR: Source/WebCore/platform/text/TextHelpers.h:31: enum members should use InterCaps with an initial capital letter. [readability/enum_casing] [4] Total errors found: 1 in 48 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 3
2015-03-31 13:32:07 PDT
Comment on
attachment 249841
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=249841&action=review
> Source/WebCore/platform/text/TextHelpers.h:27 > +#define TextHelpers_h
Not sure I like the name of this file. I'd expect a "helpers" file to contain a bunch of static functions that help me with text. This is more like TextFlags.h or TextRelatedEnums.h
> Source/WebCore/platform/text/TextHelpers.h:38 > + ForbidLeadingExpansion = 0 << 1,
0 << anything is 0. Why not just say 0?
Myles C. Maxfield
Comment 4
2015-03-31 14:05:40 PDT
Comment on
attachment 249841
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=249841&action=review
>> Source/WebCore/platform/text/TextHelpers.h:27 >> +#define TextHelpers_h > > Not sure I like the name of this file. I'd expect a "helpers" file to contain a bunch of static functions that help me with text. This is more like TextFlags.h or TextRelatedEnums.h
Done.
>> Source/WebCore/platform/text/TextHelpers.h:38 >> + ForbidLeadingExpansion = 0 << 1, > > 0 << anything is 0. Why not just say 0?
When this enum gets more complicated, it will be more obvious what is going on.
Myles C. Maxfield
Comment 5
2015-03-31 14:35:26 PDT
Committed
r182207
: <
http://trac.webkit.org/changeset/182207
>
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