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

Unified Diff: Source/core/layout/LayoutThemeMac.mm

Issue 1156993013: New media playback UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: manual rebaseline. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/layout/LayoutThemeMac.mm
diff --git a/Source/core/layout/LayoutThemeMac.mm b/Source/core/layout/LayoutThemeMac.mm
index 2c03a9cc304b759c56b5a9af8c78e0097d8a0017..d158a923cbbaed9819242c64b193a1d84f4d44d7 100644
--- a/Source/core/layout/LayoutThemeMac.mm
+++ b/Source/core/layout/LayoutThemeMac.mm
@@ -1015,9 +1015,9 @@ void LayoutThemeMac::adjustSliderThumbSize(ComputedStyle& style, Element*) const
if (style.appearance() == SliderThumbHorizontalPart || style.appearance() == SliderThumbVerticalPart) {
style.setWidth(Length(static_cast<int>(sliderThumbWidth * zoomLevel), Fixed));
style.setHeight(Length(static_cast<int>(sliderThumbHeight * zoomLevel), Fixed));
+ } else {
+ adjustMediaSliderThumbSize(style);
philipj_slow 2015/07/08 10:31:52 Why was this change needed?
liberato (no reviews please) 2015/07/09 12:10:56 the original adjust..Size() did nothing unless the
}
-
- adjustMediaSliderThumbSize(style);
}
NSPopUpButtonCell* LayoutThemeMac::popupButton() const

Powered by Google App Engine
This is Rietveld 408576698