Fix gcc 4.7 building problems - cont 2.

(The gcc 4.7 building problems keep popping up as I sync the repo, so there are several "fix gcc 4.7 .." cls.)

Fixes include -
- added static_cast for narrowing conversion in simple(short)
  initiliazation lists
- added explicit <unistd.h> inclusion

BUG=None
TEST=Built successfully using GCC-4.7 under linux and under chromeos chroot.


Review URL: https://chromiumcodereview.appspot.com/10833017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148519 0039d316-1c4b-4281-b951-d872f2087c98
5 files changed