summaryrefslogtreecommitdiffstats
path: root/libs/hwui/DisplayListRenderer.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-04-04 16:20:08 -0700
committerJohn Reck <jreck@google.com>2014-04-07 14:53:08 -0700
commit087bc0c14bdccf7c258dce0cdef46a69a839b427 (patch)
treecab73aeed8e9a0bc8e74243a35c026ab0b321e08 /libs/hwui/DisplayListRenderer.cpp
parentce16215d7b4d9bedfc62e172dc44ab439afef13a (diff)
downloadframeworks_base-087bc0c14bdccf7c258dce0cdef46a69a839b427.zip
frameworks_base-087bc0c14bdccf7c258dce0cdef46a69a839b427.tar.gz
frameworks_base-087bc0c14bdccf7c258dce0cdef46a69a839b427.tar.bz2
Refcount RenderNode
Change-Id: I7a86db8acc2b78ef33d987a43a119f5933d7d752
Diffstat (limited to 'libs/hwui/DisplayListRenderer.cpp')
-rw-r--r--libs/hwui/DisplayListRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/DisplayListRenderer.cpp b/libs/hwui/DisplayListRenderer.cpp
index 78c97e1..a84aa6b 100644
--- a/libs/hwui/DisplayListRenderer.cpp
+++ b/libs/hwui/DisplayListRenderer.cpp
@@ -191,7 +191,7 @@ status_t DisplayListRenderer::drawDisplayList(RenderNode* displayList,
DrawDisplayListOp* op = new (alloc()) DrawDisplayListOp(displayList,
flags, *currentTransform());
addDrawOp(op);
- mDisplayListData->children.push(op);
+ mDisplayListData->addChild(op);
if (displayList->isProjectionReceiver()) {
mDisplayListData->projectionReceiveIndex = mDisplayListData->displayListOps.size() - 1;
}