Refactor InspectTool::Init/DoInit
This CL proposes refactoring Init/DoInit methods by moving the overlay and frontend parameters to the constructor to avoid confusion about at what time they are set on a tool. Also, it removes DoInit/Init methods and moves the ScreenshotTool's init to the constructor as well. Change-Id: I246c1383c66f6977c0b69fd82938a6c7baa192e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2428926Reviewed-by:Sigurd Schneider <sigurds@chromium.org> Reviewed-by:
Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Alex Rudenko <alexrudenko@chromium.org> Cr-Commit-Position: refs/heads/master@{#812677}
Showing
Please register or sign in to comment