Use placement new to allocate GPU command buffer entries.
This isn't as ugly as the crazy null check, and it seems to be compiled correctly. BUG= Review URL: https://codereview.chromium.org/427003008 Cr-Commit-Position: refs/heads/master@{#288481} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288481 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment