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

Unified Diff: media/gpu/avda_codec_image.cc

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix several more bot-identified build issues Created 4 years, 8 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: media/gpu/avda_codec_image.cc
diff --git a/content/common/gpu/media/avda_codec_image.cc b/media/gpu/avda_codec_image.cc
similarity index 98%
rename from content/common/gpu/media/avda_codec_image.cc
rename to media/gpu/avda_codec_image.cc
index 667ab3182c0d38cc8ebacbb8ba0adcc6b0cf3cae..2424ae8c6e2b2f33cf5d56d529e16756e19169b9 100644
--- a/content/common/gpu/media/avda_codec_image.cc
+++ b/media/gpu/avda_codec_image.cc
@@ -2,21 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/gpu/media/avda_codec_image.h"
+#include "media/gpu/avda_codec_image.h"
#include <string.h>
#include "base/metrics/histogram_macros.h"
-#include "content/common/gpu/media/avda_shared_state.h"
#include "gpu/command_buffer/service/context_group.h"
#include "gpu/command_buffer/service/context_state.h"
#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
#include "gpu/command_buffer/service/texture_manager.h"
+#include "media/gpu/avda_shared_state.h"
#include "ui/gl/android/surface_texture.h"
#include "ui/gl/gl_context.h"
#include "ui/gl/scoped_make_current.h"
-namespace content {
+namespace media {
AVDACodecImage::AVDACodecImage(
const scoped_refptr<AVDASharedState>& shared_state,
@@ -238,4 +238,4 @@ bool AVDACodecImage::IsCodecBufferOutstanding() const {
return codec_buffer_index_ != kInvalidCodecBufferIndex && media_codec_;
}
-} // namespace content
+} // namespace media

Powered by Google App Engine
This is Rietveld 408576698