More code problems detected by cppcheck

Another round this time running cppcheck with style flag on trunk codebase.

Review URL: https://codereview.chromium.org/143003016

git-svn-id: svn://svn.chromium.org/blink/trunk@165672 bbb929c8-8fbe-4397-9dbb-9b2b20218538