[M108 Aura Migration][NaCl][PPFwk] Add error logs + SVACE/DLOG/Static analysis fix
[platform/framework/web/chromium-efl.git] / content / renderer / pepper / pepper_video_decoder_host.cc
index 7dd8526..66ca49d 100644 (file)
@@ -273,8 +273,10 @@ int32_t PepperVideoDecoderHost::OnHostMsgAssignTextures(
     const std::vector<gpu::Mailbox>& mailboxes) {
   if (!initialized_)
     return PP_ERROR_FAILED;
-  if (texture_ids.size() != mailboxes.size())
+  if (texture_ids.size() != mailboxes.size()) {
+    LOG(ERROR) << "Texture_ids size was invalid";
     return PP_ERROR_FAILED;
+  }
   DCHECK(decoder_);
 
   pending_texture_requests_--;