summaryrefslogtreecommitdiff
path: root/libs/hwui/AssetAtlas.cpp
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2016-08-11 23:20:47 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-08-11 23:20:47 +0000
commit76ce8e52422bc6121fb974ef6aab040bb5d9da51 (patch)
tree493e39d0c1ba619006bcaeda9e3c041880d7f63a /libs/hwui/AssetAtlas.cpp
parent5671277d2a84cdc4e99eb37b318ae921d4f22cdb (diff)
parentf35c939cd70f2815582d08902ade0b9abbee6bec (diff)
Merge "Fix clang-tidy warnings in libs/hwui."
Diffstat (limited to 'libs/hwui/AssetAtlas.cpp')
-rw-r--r--libs/hwui/AssetAtlas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/AssetAtlas.cpp b/libs/hwui/AssetAtlas.cpp
index 2889d2ff0b78..037bb0c9da5e 100644
--- a/libs/hwui/AssetAtlas.cpp
+++ b/libs/hwui/AssetAtlas.cpp
@@ -29,7 +29,7 @@ namespace uirenderer {
// Lifecycle
///////////////////////////////////////////////////////////////////////////////
-void AssetAtlas::init(sp<GraphicBuffer> buffer, int64_t* map, int count) {
+void AssetAtlas::init(const sp<GraphicBuffer>& buffer, int64_t* map, int count) {
if (mImage) {
return;
}