Changeset 147832 in webkit
- Timestamp:
- Apr 5, 2013, 9:41:38 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147831 r147832 1 2013-04-05 Kangil Han <kangil.han@samsung.com> 2 3 Prefer prefix ++/-- operators for non-primitive types 4 https://bugs.webkit.org/show_bug.cgi?id=114033 5 6 Reviewed by Alexey Proskuryakov. 7 8 Post ++/-- creates a copy of current value and it is not necessary, so use prefix instead. 9 10 * bindings/js/Dictionary.cpp: 11 (WebCore::Dictionary::getOwnPropertiesAsStringHashMap): 12 (WebCore::Dictionary::getOwnPropertyNames): 13 * bindings/js/ScriptCallStackFactory.cpp: 14 (WebCore::createScriptCallStack): 15 * dom/ContainerNode.cpp: 16 (WebCore::willRemoveChildren): 17 * dom/Range.cpp: 18 (WebCore::Range::processAncestorsAndTheirSiblings): 19 * loader/FrameLoader.cpp: 20 (WebCore::FrameLoader::detachChildren): 21 * platform/graphics/gpu/LoopBlinnPathProcessor.cpp: 22 (WebCore): 23 (WebCore::LoopBlinnPathProcessor::subdivideCurvesSlow): 24 * rendering/InlineTextBox.cpp: 25 (WebCore::InlineTextBox::paintDocumentMarkers): 26 * xml/XPathFunctions.cpp: 27 (WebCore::XPath::Function::setArguments): 28 1 29 2013-04-05 Hans Muller <hmuller@adobe.com> 2 30 -
trunk/Source/WebCore/bindings/js/Dictionary.cpp
r127958 r147832 65 65 PropertyNameArray propertyNames(exec); 66 66 JSObject::getOwnPropertyNames(object, exec, propertyNames, ExcludeDontEnumProperties); 67 for (PropertyNameArray::const_iterator it = propertyNames.begin(); it != propertyNames.end(); it++) {67 for (PropertyNameArray::const_iterator it = propertyNames.begin(); it != propertyNames.end(); ++it) { 68 68 String stringKey = it->string(); 69 69 if (stringKey.isEmpty()) … … 90 90 PropertyNameArray propertyNames(exec); 91 91 JSObject::getOwnPropertyNames(object, exec, propertyNames, ExcludeDontEnumProperties); 92 for (PropertyNameArray::const_iterator it = propertyNames.begin(); it != propertyNames.end(); it++) {92 for (PropertyNameArray::const_iterator it = propertyNames.begin(); it != propertyNames.end(); ++it) { 93 93 String stringKey = it->string(); 94 94 if (!stringKey.isEmpty()) -
trunk/Source/WebCore/dom/ContainerNode.cpp
r147795 r147832 463 463 464 464 ChildListMutationScope mutation(container); 465 for (NodeVector::const_iterator it = children.begin(); it != children.end(); it++) {465 for (NodeVector::const_iterator it = children.begin(); it != children.end(); ++it) { 466 466 Node* child = it->get(); 467 467 mutation.willRemoveChild(child); -
trunk/Source/WebCore/dom/Range.cpp
r145818 r147832 874 874 875 875 RefPtr<Node> firstChildInAncestorToProcess = direction == ProcessContentsForward ? container->nextSibling() : container->previousSibling(); 876 for (Vector<RefPtr<Node> >::const_iterator it = ancestors.begin(); it != ancestors.end(); it++) {876 for (Vector<RefPtr<Node> >::const_iterator it = ancestors.begin(); it != ancestors.end(); ++it) { 877 877 RefPtr<Node> ancestor = *it; 878 878 if (action == EXTRACT_CONTENTS || action == CLONE_CONTENTS) { … … 893 893 nodes.append(child); 894 894 895 for (NodeVector::const_iterator it = nodes.begin(); it != nodes.end(); it++) {895 for (NodeVector::const_iterator it = nodes.begin(); it != nodes.end(); ++it) { 896 896 Node* child = it->get(); 897 897 switch (action) { -
trunk/Source/WebCore/loader/FrameLoader.cpp
r147829 r147832 2306 2306 childrenToDetach.append(child); 2307 2307 FrameVector::iterator end = childrenToDetach.end(); 2308 for (FrameVector::iterator it = childrenToDetach.begin(); it != end; it++)2308 for (FrameVector::iterator it = childrenToDetach.begin(); it != end; ++it) 2309 2309 (*it)->loader()->detachFromParent(); 2310 2310 } -
trunk/Source/WebCore/platform/graphics/gpu/LoopBlinnPathProcessor.cpp
r128204 r147832 1099 1099 Segment* seg = *iter; 1100 1100 ASSERT(seg->kind() == Segment::Cubic); 1101 for (Vector<Segment*>::iterator iter2 = curSegments.begin(); 1102 iter2 != curSegments.end(); 1103 iter2++) { 1101 for (Vector<Segment*>::iterator iter2 = curSegments.begin(); iter2 != curSegments.end(); ++iter2) { 1104 1102 Segment* seg2 = *iter2; 1105 1103 ASSERT(seg2->kind() == Segment::Cubic); -
trunk/Source/WebCore/rendering/InlineTextBox.cpp
r147170 r147832 1399 1399 // Give any document markers that touch this run a chance to draw before the text has been drawn. 1400 1400 // Note end() points at the last char, not one past it like endOffset and ranges do. 1401 for ( ; markerIt != markers.end(); markerIt++) {1401 for ( ; markerIt != markers.end(); ++markerIt) { 1402 1402 DocumentMarker* marker = *markerIt; 1403 1403 -
trunk/Source/WebCore/xml/XPathFunctions.cpp
r143232 r147832 300 300 301 301 Vector<Expression*>::const_iterator end = args.end(); 302 for (Vector<Expression*>::const_iterator it = args.begin(); it != end; it++)302 for (Vector<Expression*>::const_iterator it = args.begin(); it != end; ++it) 303 303 addSubExpression(*it); 304 304 }
Note:
See TracChangeset
for help on using the changeset viewer.