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

Issue 1158323004: Remove the virtual ThemePainter::paintMediaCastButton() (Closed)

Created:
5 years, 7 months ago by philipj_slow
Modified:
5 years, 6 months ago
Reviewers:
aberent, fs
CC:
blink-reviews, dshwang, slimming-paint-reviews_chromium.org, blink-reviews-paint_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove the virtual ThemePainter::paintMediaCastButton() It appears to be an indirection without purpose. ThemePainterMac does not inherit from ThemePainterDefault, so on Mac the default implementation of painting nothing was used. If cast was made to work for Mac the button would fail to paint, so rebaseline the tests. BUG=493880 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196174

Patch Set 1 #

Patch Set 2 : rebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -8 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/paint/ThemePainter.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/paint/ThemePainter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/paint/ThemePainterDefault.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/paint/ThemePainterDefault.cpp View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
philipj_slow
PTAL
5 years, 7 months ago (2015-05-28 11:01:19 UTC) #2
fs
lgtm Don't know if they intended to have different Cast buttons on different platforms - ...
5 years, 7 months ago (2015-05-28 11:08:05 UTC) #3
philipj_slow
aberent@, can you confirm that there's nothing funky going on here that isn't in the ...
5 years, 7 months ago (2015-05-28 11:15:33 UTC) #5
aberent
On 2015/05/28 11:15:33, philipj_UTC2 wrote: > aberent@, can you confirm that there's nothing funky going ...
5 years, 7 months ago (2015-05-28 11:31:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158323004/1
5 years, 6 months ago (2015-05-29 08:23:55 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/56868)
5 years, 6 months ago (2015-05-29 11:26:50 UTC) #10
philipj_slow
OK, so the tests for the cast button for Mac are now failing. ThemePainterMac does ...
5 years, 6 months ago (2015-05-29 12:32:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158323004/20001
5 years, 6 months ago (2015-05-29 21:29:25 UTC) #14
commit-bot: I haz the power
5 years, 6 months ago (2015-05-29 22:46:07 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196174

Powered by Google App Engine
This is Rietveld 408576698