Bug 60475 - Style fix: Function names must begin with lowercase letter.
Summary: Style fix: Function names must begin with lowercase letter.
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tony Gentilcore
Depends on:
Blocks: 54181
  Show dependency treegraph
Reported: 2011-05-09 08:49 PDT by Tony Gentilcore
Modified: 2011-05-09 12:39 PDT (History)
3 users (show)

See Also:

Patch (2.40 KB, patch)
2011-05-09 08:53 PDT, Tony Gentilcore
no flags Details | Formatted Diff | Diff
Patch (2.42 KB, patch)
2011-05-09 09:18 PDT, Tony Gentilcore
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Gentilcore 2011-05-09 08:49:30 PDT
Style fix: Funciton names must begin with lowercase letter.
Comment 1 Tony Gentilcore 2011-05-09 08:53:35 PDT
Created attachment 92796 [details]
Comment 2 Darin Adler 2011-05-09 09:09:16 PDT
Comment on attachment 92796 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=92796&action=review

> Source/WebCore/page/PageVisibilityState.h:47
> -String GetPageVisibilityStateString(PageVisibilityState);
> +String getPageVisibilityStateString(PageVisibilityState);
>  #endif

If your intent is to fix to match WebKit project style, then the name should be:


We only use “get” in functions with out arguments; functions that simply return a value use noun or adjective phrases.
Comment 3 Tony Gentilcore 2011-05-09 09:18:07 PDT
Created attachment 92797 [details]
Comment 4 WebKit Commit Bot 2011-05-09 11:19:09 PDT
Comment on attachment 92797 [details]

Clearing flags on attachment: 92797

Committed r86069: <http://trac.webkit.org/changeset/86069>
Comment 5 WebKit Commit Bot 2011-05-09 11:19:14 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 WebKit Commit Bot 2011-05-09 12:39:12 PDT
The commit-queue encountered the following flaky tests while processing attachment 92797 [details]:

http/tests/xmlhttprequest/cross-origin-no-authorization.html bug 33357 (author: ap@webkit.org)
The commit-queue is continuing to process your patch.