/[chrome]
Chromium logo

Revision 258418


Jump to revision: Previous Next
Author: danakj@chromium.org
Date: Thu Mar 20 21:43:39 2014 UTC (9 years, 2 months ago)
Changed paths: 6
Log Message:
Move SoftwareFrameData overflow checks to the IPC code.

Instead of doing this check in SoftwareFrameManager and silently
dropping the frame, if we have an overflow, drop the IPC from the
renderer (and cause a renderer crash which we can see).

Also move computation code for the frame size in bytes to
SoftwareFrameData so the computation and the check can be beside
each other.

Also add unit tests for SoftwareFrameData IPC.

R=ccameron@chromium.org, jschuh@chromium.org, piman@chromium.org, ccameron, piman
BUG=348332

Review URL: https://codereview.chromium.org/196423027

Changed paths

Path Details
Directorytrunk/src/cc/output/software_frame_data.cc modified , text changed
Directorytrunk/src/cc/output/software_frame_data.h modified , text changed
Directorytrunk/src/content/browser/renderer_host/software_frame_manager.cc modified , text changed
Directorytrunk/src/content/common/cc_messages.cc modified , text changed
Directorytrunk/src/content/common/cc_messages.h modified , text changed
Directorytrunk/src/content/common/cc_messages_unittest.cc modified , text changed

Powered by ViewVC 1.1.26 ViewVC Help