summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authortwiz@chromium.org <twiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 17:33:18 +0000
committertwiz@chromium.org <twiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 17:33:18 +0000
commit81ac89b73f48fc3bd320295609252767d0d78056 (patch)
tree60d3cdf818a6245d531022487577df3e201d8ef0 /remoting
parente265ad798d7713116f2e9168eaa4913854029c20 (diff)
downloadchromium_src-81ac89b73f48fc3bd320295609252767d0d78056.zip
chromium_src-81ac89b73f48fc3bd320295609252767d0d78056.tar.gz
chromium_src-81ac89b73f48fc3bd320295609252767d0d78056.tar.bz2
Remove redundant memory clears when constructing BitmapPlatformDevice instances on Mac and Windows. PlatformCanvas construction is showing up as a performance bottleneck due to unnecessary initialization.
The change moves the clear to the call sites where it is necessary. Note: On Linux, cairo always allocates an initialized surface, so there is no way to bypass the performance penalty. BUG=112009 TEST=All of them Review URL: http://codereview.chromium.org/9416017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127196 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
0 files changed, 0 insertions, 0 deletions