commit | 08bf86c56495b6779001b5756839fc2c73decba3 | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed May 07 18:01:57 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed May 07 18:01:57 2014 +0000 |
tree | 34a78db0fa2b35c8809eef6becf97e9d24620c52 | |
parent | d53b22754da8b15b494c53d6ad020cea6110c255 [diff] |
Partially restore small-T optimization for very small (empty) T. This is particularly helpful for SkRecord::replace<NoOp>, which now doesn't go off and allocate a pointless byte. BUG=skia:2378 R=fmalita@chromium.org, bungeman@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/269543025 git-svn-id: http://skia.googlecode.com/svn/trunk@14622 2bbb7eff-a529-9590-31e7-b0007b416f81