Fix missing cast when passing scoped_ptr.

Fix build on linux.

R=fdoray@chromium.org, fdoray

BUG=

Review URL: https://codereview.appspot.com/68440043