Fix sub-pixel handling of transparency boxes in DPL
DeprecatedPaintLayer::transparencyClipBox and DeprecatedPaintLayer::paintingExtent used to take a sub-pixel accumulation value as an argument, but that value was inconsistent and often incorrect. DeprecatedPaintLayer's have a sub-pixel accumulation value as a member for this purpose, so this patch makes these methods use it. This fixes some cases where partially transparent nested objects would be clipped incorrectly at certain sub-pixel offsets. BUG=476139 Review URL: https://codereview.chromium.org/1304503002 git-svn-id: svn://svn.chromium.org/blink/trunk@200922 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment