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

Unified Diff: media/gpu/avda_codec_image.h

Issue 2475133002: Split out AVDA cleanups from SetSurface() change. (Closed)
Patch Set: Cleanup. Created 4 years, 1 month 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.h
diff --git a/media/gpu/avda_codec_image.h b/media/gpu/avda_codec_image.h
index 95ec47cf1a84ad57bf20e5e4e37b73e52fcc62c5..6d5e33d0ee5c669bb002f59d8537c34bdd3e4901 100644
--- a/media/gpu/avda_codec_image.h
+++ b/media/gpu/avda_codec_image.h
@@ -25,8 +25,7 @@ class VideoCodecBridge;
// needed in order to draw them.
class AVDACodecImage : public gpu::gles2::GLStreamTextureImage {
public:
- AVDACodecImage(int picture_buffer_id,
- const scoped_refptr<AVDASharedState>& shared_state,
+ AVDACodecImage(const scoped_refptr<AVDASharedState>& shared_state,
VideoCodecBridge* codec,
const base::WeakPtr<gpu::gles2::GLES2Decoder>& decoder);
@@ -148,9 +147,6 @@ class AVDACodecImage : public gpu::gles2::GLStreamTextureImage {
// The texture that we're attached to.
gpu::gles2::Texture* texture_;
- // The picture buffer id attached to this image.
- int picture_buffer_id_;
-
DISALLOW_COPY_AND_ASSIGN(AVDACodecImage);
};

Powered by Google App Engine
This is Rietveld 408576698