Bug 137997

Summary: Refactoring to simplify some code in DatePrototype.cpp
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
the patch. none

Description Mark Lam 2014-10-22 18:51:53 PDT
A bunch of functions in DatePrototype.cpp have the pattern of loading a constant into a local variable only to pass it to a callee function immediately after.  There is no other use for that variable.  This adds additional verbosity with no added benefit.  Will fix.
Comment 1 Mark Lam 2014-10-22 18:56:18 PDT
Created attachment 240319 [details]
the patch.
Comment 2 Filip Pizlo 2014-10-22 19:01:16 PDT
Comment on attachment 240319 [details]
the patch.

Nice!
Comment 3 WebKit Commit Bot 2014-10-22 19:39:13 PDT
Comment on attachment 240319 [details]
the patch.

Clearing flags on attachment: 240319

Committed r175080: <http://trac.webkit.org/changeset/175080>
Comment 4 WebKit Commit Bot 2014-10-22 19:39:15 PDT
All reviewed patches have been landed.  Closing bug.