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

Unified Diff: media/gpu/avda_shared_state.cc

Issue 2461073002: Use MediaCodec.setOutputSurface() for fullscreen transitions on M. (Closed)
Patch Set: Fix IPC, but now everything explodes :( Created 4 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: media/gpu/avda_shared_state.cc
diff --git a/media/gpu/avda_shared_state.cc b/media/gpu/avda_shared_state.cc
index 86f0633a6e1e83cad5ab809d631b2ff1c6bccd4e..557b7418bdab563bbca26211a171c7ffebc8bcd5 100644
--- a/media/gpu/avda_shared_state.cc
+++ b/media/gpu/avda_shared_state.cc
@@ -77,8 +77,6 @@ void AVDASharedState::SetSurfaceTexture(
surface_texture_service_id_ = attached_service_id;
context_ = gl::GLContext::GetCurrent();
surface_ = gl::GLSurface::GetCurrent();
- DCHECK(context_);
- DCHECK(surface_);
}
void AVDASharedState::CodecChanged(MediaCodecBridge* codec) {

Powered by Google App Engine
This is Rietveld 408576698