Chromium Code Reviews
DescriptionAdd null-check in OmahaClient for handling intent.
Since getRequestGenerator() is used without null guards in all
subsequent calls, it should be verified before making those calls.
This check will be extremely quick if ChromeApplication returns null,
and it will only incur a one-time cost otherwise, and this is not on
the UI thread, so it should have minimal performance impact.
BUG=584114
Committed: https://crrev.com/85705c2257f562b092c8d04996683439e43ce76f
Cr-Commit-Position: refs/heads/master@{#384955}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Move check earlier. #Messages
Total messages: 10 (4 generated)
|