Changeset 61412 in webkit
- Timestamp:
- Jun 18, 2010 9:39:59 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r61411 r61412 1 2010-06-17 Dumitru Daniliuc <dumi@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 Remove some unnecessary checks that cause compiler warnings. 6 https://bugs.webkit.org/show_bug.cgi?id=40772 7 8 * bindings/v8/custom/V8SQLResultSetRowListCustom.cpp: 9 (WebCore::V8SQLResultSetRowList::itemCallback): 10 * bindings/v8/npruntime.cpp: 11 1 12 2010-06-18 Mikhail Naganov <mnaganov@chromium.org> 2 13 -
trunk/WebCore/bindings/v8/custom/V8SQLResultSetRowListCustom.cpp
r54349 r61412 57 57 58 58 unsigned long index = args[0]->IntegerValue(); 59 if (index < 0 || index>= rowList->length()) {59 if (index >= rowList->length()) { 60 60 V8Proxy::throwError(V8Proxy::RangeError, "Item index is out of range."); 61 61 return v8::Undefined(); … … 92 92 93 93 #endif 94 -
trunk/WebCore/bindings/v8/npruntime.cpp
r59862 r61412 297 297 { 298 298 ASSERT(npObject); 299 ASSERT(npObject->referenceCount >= 0);300 299 301 300 if (npObject) {
Note: See TracChangeset
for help on using the changeset viewer.