Fixed processDimension to handle non-number

BUG=

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