Index: webkit/plugins/ppapi/ppb_graphics_2d_impl.cc |
diff --git a/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc b/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc |
index c1d3829638da60734a5eb7688408b301cd452d7a..40a88dff63e451195f43dc38ad7223a57b76985b 100644 |
--- a/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc |
+++ b/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc |
@@ -248,11 +248,8 @@ void PPB_Graphics2D_Impl::PaintImageData(PP_Resource image_data, |
operation.paint_image = image_resource; |
if (!ValidateAndConvertRect(src_rect, image_resource->width(), |
image_resource->height(), |
- &operation.paint_src_rect)) { |
- Log(PP_LOGLEVEL_ERROR, |
- "PPB_Graphics2D.PaintImageData: Rectangle is outside bounds."); |
+ &operation.paint_src_rect)) |
return; |
- } |
// Validate the bitmap position using the previously-validated rect, there |
// should be no painted area outside of the image. |
@@ -278,11 +275,8 @@ void PPB_Graphics2D_Impl::Scroll(const PP_Rect* clip_rect, |
if (!ValidateAndConvertRect(clip_rect, |
image_data_->width(), |
image_data_->height(), |
- &operation.scroll_clip_rect)) { |
- Log(PP_LOGLEVEL_ERROR, |
- "PPB_Graphics2D.Scroll: Rectangle is outside bounds."); |
+ &operation.scroll_clip_rect)) |
return; |
- } |
// If we're being asked to scroll by more than the clip rect size, just |
// ignore this scroll command and say it worked. |