Changeset 54795 in webkit


Ignore:
Timestamp:
Feb 15, 2010 1:43:27 PM (14 years ago)
Author:
barraclough@apple.com
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):

Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r54794 r54795  
     12010-02-15  Gavin Barraclough  <barraclough@apple.com>
     2
     3        Rubber Stamped by Geoff Garen.
     4
     5        Bug 34948 - tryMakeString should fail on error in length calculation
     6
     7        Ooops! - "bool overflow" argument should have been "bool& overflow".
     8
     9        * runtime/UString.h:
     10        (JSC::sumWithOverflow):
     11        (JSC::tryMakeString):
     12
    1132010-02-15  Gavin Barraclough  <barraclough@apple.com>
    214
  • 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.