summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy')
-rw-r--r--ppapi/proxy/ppb_image_data_proxy.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ppapi/proxy/ppb_image_data_proxy.cc b/ppapi/proxy/ppb_image_data_proxy.cc
index 87b49a7..5175166 100644
--- a/ppapi/proxy/ppb_image_data_proxy.cc
+++ b/ppapi/proxy/ppb_image_data_proxy.cc
@@ -494,7 +494,9 @@ PP_Resource PPB_ImageData_Proxy::CreateProxyResource(
}
HostResource result;
- PP_ImageDataDesc desc;
+ // Initialize desc so we don't send unitialized memory over IPC.
+ // https://crbug.com/391023.
+ PP_ImageDataDesc desc = {};
switch (type) {
case PPB_ImageData_Shared::SIMPLE: {
ppapi::proxy::SerializedHandle image_handle_wrapper;