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

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

Issue 16605006: Clean up Pepper ImageData resource class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add NOTREACHED if creating PlatformImageData in NaCl. Created 7 years, 6 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 | « chrome/renderer/pepper/pepper_pdf_host.cc ('k') | ppapi/proxy/handle_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_video_source_host.cc
diff --git a/content/renderer/pepper/pepper_video_source_host.cc b/content/renderer/pepper/pepper_video_source_host.cc
index 47b5033e043479d72b8fccf85f4c4abf6217cf36..1bde2cc7454862772c80e919adacdd282860a443 100644
--- a/content/renderer/pepper/pepper_video_source_host.cc
+++ b/content/renderer/pepper/pepper_video_source_host.cc
@@ -145,10 +145,10 @@ void PepperVideoSourceHost::SendGetFrameReply() {
ppapi::ScopedPPResource::PassRef(),
ppapi::proxy::PPB_ImageData_Proxy::CreateImageData(
pp_instance(),
+ ppapi::PPB_ImageData_Shared::PLATFORM,
PP_IMAGEDATAFORMAT_BGRA_PREMUL,
PP_MakeSize(width, height),
false /* init_to_zero */,
- false /* is_nacl_plugin */,
&image_desc, &image_handle, &byte_count));
if (!resource.get()) {
SendGetFrameErrorReply(PP_ERROR_FAILED);
« no previous file with comments | « chrome/renderer/pepper/pepper_pdf_host.cc ('k') | ppapi/proxy/handle_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698