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

Unified Diff: content/common/gpu/media/vaapi_video_decode_accelerator.cc

Issue 11225045: Move a bunch of content\common code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 2 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
Index: content/common/gpu/media/vaapi_video_decode_accelerator.cc
===================================================================
--- content/common/gpu/media/vaapi_video_decode_accelerator.cc (revision 163460)
+++ content/common/gpu/media/vaapi_video_decode_accelerator.cc (working copy)
@@ -18,6 +18,8 @@
#include "third_party/libva/va/va.h"
#include "ui/gl/gl_bindings.h"
+namespace content {
+
#define RETURN_AND_NOTIFY_ON_FAILURE(result, log, error_code, ret) \
do { \
if (!(result)) { \
@@ -27,8 +29,6 @@
} \
} while (0)
-using content::VaapiH264Decoder;
-
VaapiVideoDecodeAccelerator::InputBuffer::InputBuffer() : id(0), size(0) {
}
@@ -601,3 +601,5 @@
bool VaapiVideoDecodeAccelerator::PostSandboxInitialization() {
return VaapiH264Decoder::PostSandboxInitialization();
}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698