Make unsafe Unique<T> constructor private.
authormstarzinger <mstarzinger@chromium.org>
Mon, 31 Aug 2015 10:44:05 +0000 (03:44 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 31 Aug 2015 10:44:21 +0000 (10:44 +0000)
commit0526e102d73c3253c3ad90350d774d36758a4278
treee3bfc9734b9affd2f67b7e5f7a6e51427b1db09a
parent6eb837697a2f92c96d9e48c162f7b0391eb16556
Make unsafe Unique<T> constructor private.

The constructor taking an artificial raw address was only used as a
workaround in TurboFan. It should only be accessible by constructor
functions internal to Unique<T>.

R=titzer@chromium.org

Review URL: https://codereview.chromium.org/1326493002

Cr-Commit-Position: refs/heads/master@{#30464}
src/unique.h