DescriptionCall WC::GetContainerBounds() once in ExtensionTabUtil::CreateTabObject.
GetContainerBounds isn't a simple getter, avoid calling it more than
necessary.
Also, update setting unique_ptr-s to use MakeUnique instead of reset().
BUG=None
Test=None
Review-Url: https://codereview.chromium.org/2846443002
Cr-Commit-Position: refs/heads/master@{#467509}
Committed: https://chromium.googlesource.com/chromium/src/+/8b1df3024af0fd5cef9600e07771a3bf3afc8ff2
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 13 (9 generated)
|