Share BrowserNonClientFrameView::PaintToolbarBackground
Since the MD update, this was duplicated in 4 places. The only difference (modulo stylistic differences) was that the ash/mus versions had an extra line: toolbar_bounds.Inset(kClientEdgeThickness, 0); I determined this was not necessary because the clipping region of the canvas was already smaller than toolbar_bounds by kClientEdgeThickness. Bug: none Change-Id: I4d2dd4bbb844f2108abb606c9f0bc2e2210834f8 Reviewed-on: https://chromium-review.googlesource.com/596813 Commit-Queue: Evan Stade <estade@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#491888}
Showing
Please register or sign in to comment