Upstream version 10.38.208.0
[platform/framework/web/crosswalk.git] / src / content / renderer / pepper / ppb_video_decoder_impl.cc
index f52d423..53b2ef9 100644 (file)
@@ -246,6 +246,8 @@ void PPB_VideoDecoder_Impl::ProvidePictureBuffers(
 }
 
 void PPB_VideoDecoder_Impl::PictureReady(const media::Picture& picture) {
+  // So far picture.visible_rect is not used. If used, visible_rect should
+  // be validated since it comes from GPU process and may not be trustworthy.
   DCHECK(RenderThreadImpl::current());
   if (!ppp_videodecoder_)
     return;