WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
149662
Use modern for-loops in WebCore/html.
https://bugs.webkit.org/show_bug.cgi?id=149662
Summary
Use modern for-loops in WebCore/html.
Hunseop Jeong
Reported
2015-09-30 05:51:18 PDT
Refactor the for-loops using the ranged-for loops and auto keyword in WebCore/html.
Attachments
Patch
(71.24 KB, patch)
2015-09-30 22:41 PDT
,
Hunseop Jeong
no flags
Details
Formatted Diff
Diff
Patch
(71.22 KB, patch)
2015-10-02 00:18 PDT
,
Hunseop Jeong
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Hunseop Jeong
Comment 1
2015-09-30 22:41:38 PDT
Created
attachment 262235
[details]
Patch
Darin Adler
Comment 2
2015-10-01 09:24:23 PDT
Comment on
attachment 262235
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=262235&action=review
> Source/WebCore/html/FormController.cpp:270 > + const FormElementKey& key = element.key; > if (!equal(key.type(), "file", 4)) > continue;
Doesn’t seem to be helpful to put the key into a local variable here.
Hunseop Jeong
Comment 3
2015-10-02 00:18:31 PDT
Created
attachment 262320
[details]
Patch
Hunseop Jeong
Comment 4
2015-10-02 00:19:52 PDT
(In reply to
comment #2
)
> Comment on
attachment 262235
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=262235&action=review
> > > Source/WebCore/html/FormController.cpp:270 > > + const FormElementKey& key = element.key; > > if (!equal(key.type(), "file", 4)) > > continue; > > Doesn’t seem to be helpful to put the key into a local variable here.
You are right. I removed the local variable.
Hunseop Jeong
Comment 5
2015-10-06 01:06:39 PDT
Darin, ping? Could you give me the cq+?
WebKit Commit Bot
Comment 6
2015-10-06 06:31:45 PDT
Comment on
attachment 262320
[details]
Patch Clearing flags on attachment: 262320 Committed
r190613
: <
http://trac.webkit.org/changeset/190613
>
WebKit Commit Bot
Comment 7
2015-10-06 06:31:48 PDT
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