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

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

Issue 1415723006: ui: Add RGBX_8888 buffer format. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/avda_codec_image.cc
diff --git a/content/common/gpu/media/avda_codec_image.cc b/content/common/gpu/media/avda_codec_image.cc
index 6009597416e67fd1464647b88e07995876d45457..5e87ed16455c6aab1f6444e7eb2a05ee73e5d8ae 100644
--- a/content/common/gpu/media/avda_codec_image.cc
+++ b/content/common/gpu/media/avda_codec_image.cc
@@ -87,9 +87,8 @@ bool AVDACodecImage::CopyTexImage(unsigned target) {
gpu::gles2::TextureManager* texture_manager =
decoder_->GetContextGroup()->texture_manager();
- gpu::gles2::Texture* texture =
- texture_manager->GetTextureForServiceId(
- shared_state_->surface_texture_service_id());
+ gpu::gles2::Texture* texture = texture_manager->GetTextureForServiceId(
+ shared_state_->surface_texture_service_id());
if (texture) {
// By setting image state to UNBOUND instead of COPIED we ensure that
// CopyTexImage() is called each time the surface texture is used for

Powered by Google App Engine
This is Rietveld 408576698