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

Issue 2473443003: Fix an invalid cast from RenderWidgetHostViewGuest to RenderWidgetHostViewMac (Closed)

Created:
4 years, 1 month ago by EhsanK
Modified:
4 years, 1 month ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, mac-reviews_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix an invalid cast from RenderWidgetHostViewGuest to RenderWidgetHostViewMac The method GetRenderWidgetHostViewToUse() picks the guest WebContents for the fullscreen page to be used for start/stopSpeaking commands in Mac. The guest WebContents's RenderWidgetHostView is however is incorrectly assumed to be RenderWidgetHostViewMac. It is actually a RenderWidgetHostViewGuest. Moreover, since the method SpeakSelection() is implemented for RenderWidgetHostView there is indeed no need to further cast the view to RenderWidgetHostViewMac/Guest at all. BUG=661329 Committed: https://crrev.com/b5802c0cf50d70bc72ebc5fae7356af8aa64f98e Cr-Commit-Position: refs/heads/master@{#429368}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M content/browser/renderer_host/render_widget_host_view_mac.mm View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
EhsanK
Avi, could you please review this change? Thanks!
4 years, 1 month ago (2016-11-01 21:44:04 UTC) #5
Avi (use Gerrit)
Yikes! LGTM.
4 years, 1 month ago (2016-11-02 17:38:50 UTC) #9
EhsanK
Thanks avi@!
4 years, 1 month ago (2016-11-02 17:49:24 UTC) #10
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/2473443003/1
4 years, 1 month ago (2016-11-02 19:36:51 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-02 19:43:12 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 19:55:27 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b5802c0cf50d70bc72ebc5fae7356af8aa64f98e
Cr-Commit-Position: refs/heads/master@{#429368}

Powered by Google App Engine
This is Rietveld 408576698