commit | 5b76c04ae3040e16d924495416b722b2fcf13616 | [log] [tgz] |
---|---|---|
author | rob.buis <rob.buis@samsung.com> | Thu Apr 14 02:41:37 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Apr 14 02:43:11 2016 |
tree | a2a0372c6e02a041a0735f0083daea3bc8c701b8 | |
parent | b1f342180355f130e968574e7271e5d17fe9c783 [diff] |
PaymentRequest should be a ContextLifecycleObserver This CL makes PaymentRequest a ContextLifecycleObserver. Since mojo::Binding::Close() has a precondition that it is bound, check that in PaymentRequest::cleanUp before calling Close(), if not Payment unit tests that create PaymentRequests that do not bind will crash. BUG=602660 Review URL: https://codereview.chromium.org/1880353004 Cr-Commit-Position: refs/heads/master@{#387214}