summaryrefslogtreecommitdiff
path: root/libs/hwui/LayerUpdateQueue.h
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2016-01-11 19:28:17 -0800
committer Chris Craik <ccraik@google.com> 2016-01-11 19:28:19 -0800
commitb250a834e433b4f483e8d8362a6fda8d6594c7b8 (patch)
tree4effddedd8fe6ad96acfa03853761dc537d6ec6c /libs/hwui/LayerUpdateQueue.h
parentae10e1368c78034e0fd88010220d6e5e684a2f3a (diff)
Fix deep copy of entry queue
also fixes several 64 bit compilation issues Change-Id: I1825f822d02be72c21bdcd07cefa68217856ddc2
Diffstat (limited to 'libs/hwui/LayerUpdateQueue.h')
-rw-r--r--libs/hwui/LayerUpdateQueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/LayerUpdateQueue.h b/libs/hwui/LayerUpdateQueue.h
index be612d2a15e7..5b1a8543dd0d 100644
--- a/libs/hwui/LayerUpdateQueue.h
+++ b/libs/hwui/LayerUpdateQueue.h
@@ -42,7 +42,7 @@ public:
LayerUpdateQueue() {}
void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
void clear();
- const std::vector<Entry> entries() const { return mEntries; }
+ const std::vector<Entry>& entries() const { return mEntries; }
private:
std::vector<Entry> mEntries;
};