Replace catch blocks from std::bad_alloc to ellipses.

It seems we weren't catching bad_alloc despite using the correct syntax.
Using ellipses solves the problem, and since we only expect bad_alloc
it does the equivalent result of catching and returning out of memory.

I'm currently not aware of the proper syntax to catch bad_alloc.

BUg=angle:634

Change-Id: Ib3154546d1b72d180cb565c71f35716696863cdd
Reviewed-on: https://chromium-review.googlesource.com/198245
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Nicolas Capens <nicolascapens@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Jamie Madill 2014-05-05 15:10:38 -04:00
Родитель cc14f104b5
Коммит de0ec75ebb
1 изменённых файлов: 258 добавлений и 258 удалений

Разница между файлами не показана из-за своего большого размера Загрузить разницу