Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: Source/core/xml/XPathFunctions.cpp

Issue 141273002: Code problems detected by cppcheck (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGAnimateMotionElement.cpp ('k') | Source/platform/DateComponents.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathFunctions.cpp
diff --git a/Source/core/xml/XPathFunctions.cpp b/Source/core/xml/XPathFunctions.cpp
index b70da1fe627c34e313d0d453dea51e1737780614..c3a743355fcbf548815ed5eece9f4d5335ae5de9 100644
--- a/Source/core/xml/XPathFunctions.cpp
+++ b/Source/core/xml/XPathFunctions.cpp
@@ -300,7 +300,7 @@ void Function::setArguments(Vector<OwnPtr<Expression> >& args)
setIsContextNodeSensitive(false);
Vector<OwnPtr<Expression> >::iterator end = args.end();
- for (Vector<OwnPtr<Expression> >::iterator it = args.begin(); it != end; it++)
+ for (Vector<OwnPtr<Expression> >::iterator it = args.begin(); it != end; ++it)
addSubExpression(it->release());
}
« no previous file with comments | « Source/core/svg/SVGAnimateMotionElement.cpp ('k') | Source/platform/DateComponents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698