Remove the const for Window method in InstanceUpdate.
InstanceUpdate's Window method is used to get the pointer of window in OnInstanceUpdate callback. If const, it prevents the operation on the window, e.g window->SetProperty in ui, so remove the const. BUG=1011235 Change-Id: I14deed57307a6dd465f0c0f3cae30c86cce6279e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1921008Reviewed-by:Dominick Ng <dominickn@chromium.org> Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#716067}
Showing
Please register or sign in to comment