Use forwarding with SkTLazy::init.
authorbungeman <bungeman@google.com>
Wed, 12 Aug 2015 20:37:16 +0000 (13:37 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 12 Aug 2015 20:37:17 +0000 (13:37 -0700)
commit72440a3785c13b8ec539d7e11bea1124eeddecbd
treeb326003afce201c5cc68e9dc3c78d110ece72ca3
parent65bd7ae3741847d1f01bcf5266f42ff9e371952d
Use forwarding with SkTLazy::init.

This allows removal the difficult to use (and so currently unused)
placement new and related macros to allow any constructor of T to
be used to initilize the storage of SkTLazy. This also properly
aligns the SkTLazy storage.

Review URL: https://codereview.chromium.org/1283183003
include/core/SkTLazy.h
src/gpu/GrTraceMarker.h
src/gpu/GrTracing.h