Revert 225751 "BitmapContentLayerUpdater shouldn't reallocate bi..."
> BitmapContentLayerUpdater shouldn't reallocate bitmap smaller. > > BitmapContentLayerUpdater was always allocating a new bitmap if the size of the region to be drawn changed, even if the new region was smaller. These unnecessary reallocations can be very expensive because they require page faults and for the operating system to clear out the memory. > > BUG=296423 > R=ben@chromium.org, enne@chromium.org, vangelis@chromium.org > > Review URL: https://codereview.chromium.org/24486002 BUG=296423,321937 TBR=jbauman@chromium.org Review URL: https://codereview.chromium.org/100923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238280 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment