Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Issue 2321163002: Allow MediaRouterDialogControllerImpl to re-set its reference to MRAction (Closed)

Created:
4 years, 3 months ago by takumif
Modified:
4 years, 3 months ago
Reviewers:
imcheng
CC:
chromium-reviews, media-router+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow MediaRouterDialogControllerImpl to re-set its reference to MRAction When a tab that a dialog controller is associated with gets moved to another window, we need to allow the dialog controller to update its reference to the toolbar action (associated with a window). This fixes the bug in which the icon gets pressed in a wrong window. The comment for SetMediaRouterAction() is also updated, as it is okay for the action to be null, and we expect it to become null when it gets removed from the toolbar. BUG=644972 Committed: https://crrev.com/0a9c22d4d0a3c4335d69d00f28a8895d9583bab1 Cr-Commit-Position: refs/heads/master@{#417376}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
takumif
Please take a look, thank you!
4 years, 3 months ago (2016-09-08 18:46:01 UTC) #5
imcheng
lgtm
4 years, 3 months ago (2016-09-08 19:00:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2321163002/1
4 years, 3 months ago (2016-09-08 19:10:55 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-08 19:59:51 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 20:01:41 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0a9c22d4d0a3c4335d69d00f28a8895d9583bab1
Cr-Commit-Position: refs/heads/master@{#417376}

Powered by Google App Engine
This is Rietveld 408576698