DescriptionDefault initialize CanvasPaintT<T> bitmaps to 0, 0, 0, 0.
PlatformCanvas objects are constructed uninitialized. (Since change http://src.chromium.org/viewvc/chrome?view=rev&revision=127196). This change had propagated uninitialized semantics to CanvasPaint<..>, and CanvasPaintSkia, which introduced the regressions mentioned in the bug below.
This change re-introduces the initilized memory behaviour, but at the CanvasPaint<T> level. This preserves the performance boost from rev 127196, and prevents regressions in displayed UI elements.
Change also removes a now-unnecessary clear in browser_action_button.mm introduced by http://codereview.chromium.org/9839012.
BUG=118755
TEST=None
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128574
Patch Set 1 #Patch Set 2 : Remove unneeded clear for extension icons. #
Messages
Total messages: 6 (0 generated)
|