| Index: media/gpu/avda_return_on_failure.h
|
| diff --git a/media/gpu/avda_return_on_failure.h b/media/gpu/avda_return_on_failure.h
|
| index b68d9a1581bc735429664a6dd5f5888ff5bb30b2..7826ca19c3dbd1397864be81de0bbf9e12e6b783 100644
|
| --- a/media/gpu/avda_return_on_failure.h
|
| +++ b/media/gpu/avda_return_on_failure.h
|
| @@ -13,13 +13,13 @@
|
| // This is meant to be used only within AndroidVideoDecoder and the various
|
| // backing strategies. |provider| must support PostError. The varargs
|
| // can be used for the return value.
|
| -#define RETURN_ON_FAILURE(provider, result, log, error, ...) \
|
| - do { \
|
| - if (!(result)) { \
|
| - DLOG(ERROR) << log; \
|
| - provider->PostError(FROM_HERE, media::VideoDecodeAccelerator::error); \
|
| - return __VA_ARGS__; \
|
| - } \
|
| +#define RETURN_ON_FAILURE(provider, result, log, error, ...) \
|
| + do { \
|
| + if (!(result)) { \
|
| + DLOG(ERROR) << log; \
|
| + provider->PostError(FROM_HERE, VideoDecodeAccelerator::error); \
|
| + return __VA_ARGS__; \
|
| + } \
|
| } while (0)
|
|
|
| // Similar to the above, with some handy boilerplate savings. The varargs
|
|
|