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

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: actually got the other CL number right... 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 f5086be000aa847a5bfb9724fca56b921f72c80f..1568b0343d6079e7b545ae478eb0c659938fd4d9 100644
--- a/Source/core/layout/LayoutThemeMac.mm
+++ b/Source/core/layout/LayoutThemeMac.mm
@@ -1015,9 +1015,9 @@ void LayoutThemeMac::adjustSliderThumbSize(ComputedStyle& style) 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);
}
-
- adjustMediaSliderThumbSize(style);
}
NSPopUpButtonCell* LayoutThemeMac::popupButton() const

Powered by Google App Engine
This is Rietveld 408576698