DescriptionFix crash when using the language picker on iOS
The crash was happening because the wrong constructor of scoped_nsobject,
because the template parameter did not exactly match the declaration.
The automatic conversion to pointer was used, and the crash happened
because the object was not retained.
With the new code, the copy constructor is used instead, as was intended.
Committed: https://crrev.com/9c7b33826df535585ecb915b7d5eb34f37388385
Cr-Commit-Position: refs/heads/master@{#311446}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|