diff options
author | sergeyu <sergeyu@chromium.org> | 2016-01-13 11:53:24 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-13 19:54:15 +0000 |
commit | 4f5bacb7eaade57cc8f6164478f026519adb6907 (patch) | |
tree | 4e70aacd4375a87a9c7a9023b5a3839519a0b951 /remoting | |
parent | 8d883055df823fafbc4b70ae2c813dcb2782f0f6 (diff) | |
download | chromium_src-4f5bacb7eaade57cc8f6164478f026519adb6907.zip chromium_src-4f5bacb7eaade57cc8f6164478f026519adb6907.tar.gz chromium_src-4f5bacb7eaade57cc8f6164478f026519adb6907.tar.bz2 |
Fix PepperPortAllocatorSession to initialize callback_factory_.
After crrev.com/368701 PepperPortAllocatorSession constructor wasn't
initializing calllback_factory_ properly, so the plugin was crashing.
BUG=576985
Review URL: https://codereview.chromium.org/1584883002
Cr-Commit-Position: refs/heads/master@{#369245}
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/client/plugin/pepper_port_allocator.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/client/plugin/pepper_port_allocator.cc b/remoting/client/plugin/pepper_port_allocator.cc index 6f2e27a..6f3b551 100644 --- a/remoting/client/plugin/pepper_port_allocator.cc +++ b/remoting/client/plugin/pepper_port_allocator.cc @@ -72,7 +72,8 @@ PepperPortAllocatorSession::PepperPortAllocatorSession( component, ice_username_fragment, ice_password), - pp_instance_(allocator->pp_instance()) {} + pp_instance_(allocator->pp_instance()), + callback_factory_(this) {} PepperPortAllocatorSession::~PepperPortAllocatorSession() {} |