RESOLVED FIXED 143302
Use modern loops in WebProcess
https://bugs.webkit.org/show_bug.cgi?id=143302
Summary Use modern loops in WebProcess
Hunseop Jeong
Reported 2015-04-01 04:47:02 PDT
Use modern range for-loops in WebProcess.
Attachments
Patch (8.10 KB, patch)
2015-04-01 04:51 PDT, Hunseop Jeong
no flags
Patch (8.14 KB, patch)
2015-04-01 06:27 PDT, Hunseop Jeong
no flags
Thanks for review, I changed the code to follow your comments. (7.83 KB, patch)
2015-04-06 20:51 PDT, Hunseop Jeong
no flags
Hunseop Jeong
Comment 1 2015-04-01 04:51:57 PDT
Hunseop Jeong
Comment 2 2015-04-01 06:27:10 PDT
Darin Adler
Comment 3 2015-04-06 18:35:57 PDT
Comment on attachment 249917 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249917&action=review > Source/WebKit2/WebProcess/WebProcess.cpp:542 > + if (page.get()->windowAndWebPageAreFocused()) This should just be page-> rather than page.get()-> > Source/WebKit2/WebProcess/WebProcess.cpp:1146 > - page->unmarkAllMisspellings(); > + page.get()->unmarkAllMisspellings(); This change should not be needed. > Source/WebKit2/WebProcess/WebProcess.cpp:1148 > - page->unmarkAllBadGrammar(); > + page.get()->unmarkAllBadGrammar(); This change should not be needed. > Source/WebKit2/WebProcess/WebProcess.cpp:1219 > + if (Frame* mainFrame = page.get()->mainFrame()) This should be page-> rather than page.get()->
Hunseop Jeong
Comment 4 2015-04-06 20:51:21 PDT
Created attachment 250253 [details] Thanks for review, I changed the code to follow your comments.
Darin Adler
Comment 5 2015-04-09 22:19:33 PDT
Comment on attachment 250253 [details] Thanks for review, I changed the code to follow your comments. View in context: https://bugs.webkit.org/attachment.cgi?id=250253&action=review > Source/WebKit2/WebProcess/WebProcess.cpp:312 > + for (auto& scheme : parameters.urlSchemesRegistererdAsEmptyDocument) After we land this patch we should fix the "Registererd" typo (not just here, but everywhere).
WebKit Commit Bot
Comment 6 2015-04-09 23:08:53 PDT
Comment on attachment 250253 [details] Thanks for review, I changed the code to follow your comments. Clearing flags on attachment: 250253 Committed r182622: <http://trac.webkit.org/changeset/182622>
WebKit Commit Bot
Comment 7 2015-04-09 23:09:01 PDT
All reviewed patches have been landed. Closing bug.
Hunseop Jeong
Comment 8 2015-04-10 01:13:40 PDT
(In reply to comment #5) > Comment on attachment 250253 [details] > Thanks for review, I changed the code to follow your comments. > > View in context: > https://bugs.webkit.org/attachment.cgi?id=250253&action=review > > > Source/WebKit2/WebProcess/WebProcess.cpp:312 > > + for (auto& scheme : parameters.urlSchemesRegistererdAsEmptyDocument) > > After we land this patch we should fix the "Registererd" typo (not just > here, but everywhere). I fixed the typos( urlSchemesRegistererdAsEmptyDocument -> urlSchemesRegisteredAsEmptyDocument) https://bugs.webkit.org/show_bug.cgi?id=143598
Note You need to log in before you can comment on or make changes to this bug.