Changeset 54795 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Feb 15, 2010, 1:43:27 PM (15 years ago)
Author:
[email protected]
Message:

Rubber Stamped by Geoff Garen.

Bug 34948 - tryMakeString should fail on error in length calculation

Ooops! - "bool overflow" argument should have been "bool& overflow".

  • runtime/UString.h:

(JSC::sumWithOverflow):
(JSC::tryMakeString):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/UString.h

    r54789 r54795  
    326326    };
    327327
    328     inline void sumWithOverflow(unsigned& total, unsigned addend, bool overflow)
     328    inline void sumWithOverflow(unsigned& total, unsigned addend, bool& overflow)
    329329    {
    330330        unsigned oldTotal = total;
Note: See TracChangeset for help on using the changeset viewer.