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

Unified Diff: content/renderer/pepper/pepper_video_decoder_host.cc

Issue 1369203003: Promote PPB_VideoDecoder 1.1 to Stable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Corrected interface order in interfaces_ppb_public_stable.h Created 5 years, 3 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 | « no previous file | ppapi/api/ppb_video_decoder.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_video_decoder_host.cc
diff --git a/content/renderer/pepper/pepper_video_decoder_host.cc b/content/renderer/pepper/pepper_video_decoder_host.cc
index c6c5f739901277140abec689a026c4d03750cef0..2b5f58451c2659fdbd014d277cdf1fd87676f9ae 100644
--- a/content/renderer/pepper/pepper_video_decoder_host.cc
+++ b/content/renderer/pepper/pepper_video_decoder_host.cc
@@ -137,15 +137,6 @@ int32_t PepperVideoDecoderHost::OnHostMsgInitialize(
profile_ = PepperToMediaVideoProfile(profile);
software_fallback_allowed_ = (acceleration != PP_HARDWAREACCELERATION_ONLY);
- // Check for Dev API use
- // TODO(lpique): remove check when PPB_VideoDecoder_1_1 reaches beta/stable.
- // https://crbug.com/520323
- if (min_picture_count != 0) {
- ContentRendererClient* client = GetContentClient()->renderer();
- bool allowed = client->IsPluginAllowedToUseDevChannelAPIs();
- if (!allowed)
- return PP_ERROR_NOTSUPPORTED;
- }
min_picture_count_ = min_picture_count;
if (acceleration != PP_HARDWAREACCELERATION_NONE) {
« no previous file with comments | « no previous file | ppapi/api/ppb_video_decoder.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698