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

Unified Diff: Source/core/rendering/RenderThemeChromiumSkia.cpp

Issue 14866009: Enable proper zooming of checkbox and radio button on Win and Mac. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumSkia.h ('k') | Source/core/rendering/RenderThemeChromiumWin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderThemeChromiumSkia.cpp
diff --git a/Source/core/rendering/RenderThemeChromiumSkia.cpp b/Source/core/rendering/RenderThemeChromiumSkia.cpp
index b044f527371c3988294207e732eaa19e6779e8b3..a1867430f547a7fc547673722a5a16ab3ddea379 100644
--- a/Source/core/rendering/RenderThemeChromiumSkia.cpp
+++ b/Source/core/rendering/RenderThemeChromiumSkia.cpp
@@ -406,15 +406,6 @@ int RenderThemeChromiumSkia::menuListArrowPadding() const
return ScrollbarTheme::theme()->scrollbarThickness();
}
-// static
-void RenderThemeChromiumSkia::setSizeIfAuto(RenderStyle* style, const IntSize& size)
-{
- if (style->width().isIntrinsicOrAuto())
- style->setWidth(Length(size.width(), Fixed));
- if (style->height().isAuto())
- style->setHeight(Length(size.height(), Fixed));
-}
-
int RenderThemeChromiumSkia::menuListInternalPadding(RenderStyle* style, int paddingType) const
{
// This internal padding is in addition to the user-supplied padding.
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumSkia.h ('k') | Source/core/rendering/RenderThemeChromiumWin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698