diff options
| author | 2015-07-09 17:45:39 -0700 | |
|---|---|---|
| committer | 2015-07-09 17:47:50 -0700 | |
| commit | bea77a07834f30c3652e2a708856796082245c4b (patch) | |
| tree | c4fbb31d45cfc37bd9d6cd504ab69126cc34348e /libs/hwui/TextureCache.cpp | |
| parent | 171fe6ac0aa5b0d2dd64ac1cdda25cdcb5f183f3 (diff) | |
Deep-copying sucks when all you want is a borrow
Bug: 22378829
std::string only knows how to move & deep-copy, and we really
don't want either here since the Paint object for certain outlives
the stack scope so use a const reference instead.
Change-Id: I1c822c6ba9647953899cfe89dcc670d7265e3973
Diffstat (limited to 'libs/hwui/TextureCache.cpp')
0 files changed, 0 insertions, 0 deletions