| Summary: | Rename connectionDidClose and related methods to be more clear | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brady Eidson <beidson> | ||||||||
| Component: | WebKit2 | Assignee: | Brady Eidson <beidson> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | andersca, sam | ||||||||
| Priority: | P2 | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 144971 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Brady Eidson
2015-05-14 16:53:57 PDT
Created attachment 253157 [details]
Patch v1
Created attachment 253158 [details]
Patch
Created attachment 253159 [details]
Patch v2 - Even better naming
Comment on attachment 253159 [details] Patch v2 - Even better naming View in context: https://bugs.webkit.org/attachment.cgi?id=253159&action=review The phrase “web process shutting down’ seems to be missing a verb; the tense is confusing, like intentional strangeness of the movie title Rachel Getting Married. How about “web process will shut down” or “web process is shutting down” or “web process did shut down”? Or whatever the actual situation is. > Source/WebKit2/Shared/ChildProcessProxy.h:76 > + void shutdownProcess(); The verb is two words “shut down”, so this should be shutDownProcess. > Source/WebKit2/UIProcess/Databases/DatabaseProcessProxy.cpp:77 > + ASSERT(this->connection() == &connection); This should use ASSERT_UNUSED. > Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp:100 > + ASSERT(this->connection() == &connection); This should use ASSERT_UNUSED. > Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp:87 > + ASSERT(this->connection() == &connection); This should use ASSERT_UNUSED. > Source/WebKit2/UIProcess/WebProcessProxy.h:164 > + void shutdown(); Again, the verb “shut down” is two words and this should be shutDown. Great suggestions. Thanks for the review! |