[DevTools] Calculate target type and title once in constructor
This is a logical thing to do by itself, improves performance and makes it easier to reason about things. It may also help to prevent crashes if we somehow get into inconsistent state by not calling delegate methods at random times. Although not directly fixing the linked crash, I expect it to go away. BUG=704346 TBR=dtrainor@chromium.org Review-Url: https://codereview.chromium.org/2799783006 Cr-Commit-Position: refs/heads/master@{#462959}
Showing
Please register or sign in to comment