commit | 49c4c22b3744d18e1cb38ecabcb8839d2e26afe0 | [log] [tgz] |
---|---|---|
author | kkinnunen <kkinnunen@nvidia.com> | Fri Apr 01 04:50:37 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Apr 01 04:50:38 2016 -0700 |
tree | 229335950c6db475308b063bf82e7d869f47af9a | |
parent | 4d51f64ff18e2e15c40fec0c374d89879ba273bc [diff] |
Remove ownership parameter from GrResourceProvider::wrapBackendTextureAsRenderTarget Remove ownership parameter from GrResourceProvider::wrapBackendTextureAsRenderTarget. The function leaks the texture id if kAdopt_LifeCycle is passed. There is no public API to access the parameter. BUG=594928 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1842313003 Review URL: https://codereview.chromium.org/1842313003