Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: media/gpu/avda_return_on_failure.h

Issue 2061823003: media: Drop "media::" in media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: work around clang format by adding an empty line Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/gpu/avda_codec_image.cc ('k') | media/gpu/avda_shared_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « media/gpu/avda_codec_image.cc ('k') | media/gpu/avda_shared_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698