Bug 131135

Summary: Introduce LockHistory and LockBackForwardList enums to use in place of bools
Product: WebKit Reporter: Mark Rowe (bdash) <mrowe>
Component: HistoryAssignee: Mark Rowe (bdash) <mrowe>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Mark Rowe (bdash) 2014-04-02 15:58:38 PDT
The lockHistory and lockBackForwardList arguments are often passed using literals at the call site. Using multiple consecutive boolean arguments makes it hard to keep track of which is which.
Comment 1 Mark Rowe (bdash) 2014-04-02 16:11:09 PDT
Created attachment 228437 [details]
Patch
Comment 2 WebKit Commit Bot 2014-04-02 16:13:01 PDT
Attachment 228437 [details] did not pass style-queue:


ERROR: Source/WebCore/loader/FormSubmission.h:92:  The parameter name "event" adds no information, so it should be removed.  [readability/parameter_name] [5]
ERROR: Source/WebCore/loader/FrameLoader.h:110:  One space before end of line comments  [whitespace/comments] [5]
Total errors found: 2 in 24 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Mark Rowe (bdash) 2014-04-02 16:27:53 PDT
Created attachment 228444 [details]
Patch
Comment 4 WebKit Commit Bot 2014-04-02 16:29:31 PDT
Attachment 228444 [details] did not pass style-queue:


ERROR: Source/WebCore/loader/FormSubmission.h:92:  The parameter name "event" adds no information, so it should be removed.  [readability/parameter_name] [5]
ERROR: Source/WebCore/loader/FrameLoader.h:110:  One space before end of line comments  [whitespace/comments] [5]
Total errors found: 2 in 25 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Andreas Kling 2014-04-02 17:17:15 PDT
Comment on attachment 228444 [details]
Patch

OK, r=me
Comment 6 WebKit Commit Bot 2014-04-02 17:51:34 PDT
Comment on attachment 228444 [details]
Patch

Clearing flags on attachment: 228444

Committed r166684: <http://trac.webkit.org/changeset/166684>
Comment 7 WebKit Commit Bot 2014-04-02 17:51:37 PDT
All reviewed patches have been landed.  Closing bug.