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

Unified Diff: ppapi/examples/video_decode/video_decode.cc

Issue 390213002: Pepper: Change PPB_VideoDecoder::Reset behavior so plugin always manages textures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « ppapi/cpp/video_decoder.h ('k') | ppapi/proxy/video_decoder_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/examples/video_decode/video_decode.cc
diff --git a/ppapi/examples/video_decode/video_decode.cc b/ppapi/examples/video_decode/video_decode.cc
index e104080c96f2311a30bca3cd655c4d2857563b06..56748e037d6babcebd821564483f91d2a47ac6d4 100644
--- a/ppapi/examples/video_decode/video_decode.cc
+++ b/ppapi/examples/video_decode/video_decode.cc
@@ -430,10 +430,6 @@ bool MyInstance::HandleInputEvent(const pp::InputEvent& event) {
if (!video_decoders_[i]->resetting())
video_decoders_[i]->Reset();
}
-
- // Clear pending pictures.
- while (!pending_pictures_.empty())
- pending_pictures_.pop();
}
return true;
}
« no previous file with comments | « ppapi/cpp/video_decoder.h ('k') | ppapi/proxy/video_decoder_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698