summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Glenn Kasten <gkasten@google.com> 2012-01-30 13:00:02 -0800
committer Glenn Kasten <gkasten@google.com> 2012-01-30 13:00:02 -0800
commitc64a6f01cb2dd7cda8bcac79ba04b6ed454d65c4 (patch)
treed2264340942bdfbaec813e7a32728f5e1930a8e5 /libs/ui/FramebufferNativeWindow.cpp
parentacabf488674e0f5a6d0fa6d1da5e36b417a681a0 (diff)
Improve performance for sp<> on stack
Combine default constructor for sp<> immediately followed by assignment, as the reference-counting is relatively slow. Also return sp<> directly rather than via local variable, for the same reason. Change-Id: If55931f1e407994f6591ddde41b53db72fb4fc40
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions