Remove ChromeActivity ref from CustomTabCompositorContentInitializer
CustomTabCompositorContentInitializer relies on ChromeActivity to initialize compositor content. This method is part of ChromeActivity's interface, so removing the dependency is difficult. Moving the #initializeCompositorContent behind an interface and injecting that into CustomTabCompositorContentInitializer to decouple the two. This change is meant to be an example on how to handle this case. Bug: 1123209 Change-Id: I8ba93cd80074c8935bd07428327f74ca2973eb19 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2429870Reviewed-by:Peter Conn <peconn@chromium.org> Reviewed-by:
David Trainor <dtrainor@chromium.org> Commit-Queue: Brandon Wylie <wylieb@chromium.org> Cr-Commit-Position: refs/heads/master@{#812820}
Showing
Please register or sign in to comment