diff options
author | fmalita <fmalita@chromium.org> | 2016-10-17 07:16:05 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-17 07:16:05 -0700 |
commit | 862a3876086a9367c584598038887b94d8065fd7 (patch) | |
tree | 6be6fd5e1d7ebe81ee596e8419ecea4b6a5beb68 /src/core/SkScalerContext.h | |
parent | dc87a7d8ea51b05ba2e8d86a2665461ff641b971 (diff) |
Avoid SkImage ref churn in short lived SkBitmapProvider
SkBitmapProvider is always stack-allocated and tightly-scoped. It
should be safe to store a SkImage rawptr instead of a ref object.
R=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2424813002
Review-Url: https://codereview.chromium.org/2424813002
Diffstat (limited to 'src/core/SkScalerContext.h')
0 files changed, 0 insertions, 0 deletions