Changeset 59606 in webkit
- Timestamp:
- May 17, 2010 6:49:55 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r59605 r59606 1 2010-05-17 Kenneth Rohde Christiansen <kenneth@webkit.org> 2 3 Reviewed by Laszlo Gombos. 4 5 REGRESSION(59563): [Qt] JSValue QtClass::fallbackObject can be optimized 6 7 Patch declared a variable index, which shadowed an earlier declared 8 variable. 9 10 * bridge/qt/qt_class.cpp: 11 (JSC::Bindings::QtClass::fallbackObject): 12 1 13 2010-05-14 Andrei Popescu <andreip@google.com> 2 14 -
trunk/WebCore/bridge/qt/qt_class.cpp
r59563 r59606 101 101 continue; 102 102 103 int i ndex= 0;103 int iter = 0; 104 104 const char* signature = m.signature(); 105 while (signature[i ndex] && signature[index] != '(')106 ++i ndex;107 108 if (normal == QByteArray::fromRawData(signature, i ndex)) {105 while (signature[iter] && signature[iter] != '(') 106 ++iter; 107 108 if (normal == QByteArray::fromRawData(signature, iter)) { 109 109 QtRuntimeMetaMethod* val = new (exec) QtRuntimeMetaMethod(exec, identifier, static_cast<QtInstance*>(inst), index, normal, false); 110 110 qtinst->m_methods.insert(name, val);
Note: See TracChangeset
for help on using the changeset viewer.