Adds comment for InterfacePtr::PassInterface() as well as DCHECK
commitc2f93e23d00e8a5ef74e9dcb5249ddbd7873e044
authorsky <sky@chromium.org>
Fri, 18 Sep 2015 22:12:55 +0000 (18 15:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 18 Sep 2015 22:13:31 +0000 (18 22:13 +0000)
tree8d2e50963e65571b658b4aea6c515b872be3867b
parent49756f2d0dc711b389fc3b1212190ee5b97d8cf6
Adds comment for InterfacePtr::PassInterface() as well as DCHECK

The DCHECK will help catch errors early.

BUG=533107
TEST=none
R=yzshen@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#349781}
third_party/mojo/src/mojo/public/cpp/bindings/interface_ptr.h
third_party/mojo/src/mojo/public/cpp/bindings/lib/interface_ptr_internal.h
third_party/mojo/src/mojo/public/cpp/bindings/lib/router.cc
third_party/mojo/src/mojo/public/cpp/bindings/lib/router.h