Changeset 26676 in webkit for trunk/JavaScriptCore/kjs/ustring.cpp
- Timestamp:
- Oct 16, 2007, 1:13:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/ustring.cpp
r26182 r26676 1 1 // -*- c-basic-offset: 2 -*- 2 2 /* 3 * This file is part of the KDE libraries4 3 * Copyright (C) 1999-2000 Harri Porten ([email protected]) 5 4 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. … … 48 47 #endif 49 48 50 using std::max;51 using std::min;49 using namespace WTF; 50 using namespace std; 52 51 53 52 namespace KJS { … … 955 954 956 955 // skip leading white space 957 while (is space(*c))956 while (isASCIISpace(*c)) 958 957 c++; 959 958 … … 1010 1009 1011 1010 // allow trailing white space 1012 while (is space(*c))1011 while (isASCIISpace(*c)) 1013 1012 c++; 1014 1013 // don't allow anything after - unless tolerant=true
Note:
See TracChangeset
for help on using the changeset viewer.