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

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

Issue 14859003: Remove the compile time flag for DATALIST Element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebasing after r150849 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/RenderThemeChromiumWin.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderThemeChromiumWin.cpp
diff --git a/Source/core/rendering/RenderThemeChromiumWin.cpp b/Source/core/rendering/RenderThemeChromiumWin.cpp
index e1186a2282bf5aff4798d6c9a1db6cc52b3267f2..c1c901fd6fd4d099f3a38ecd00f919aea8dca2f7 100644
--- a/Source/core/rendering/RenderThemeChromiumWin.cpp
+++ b/Source/core/rendering/RenderThemeChromiumWin.cpp
@@ -264,7 +264,6 @@ Color RenderThemeChromiumWin::systemColor(int cssValueId) const
return Color(GetRValue(color), GetGValue(color), GetBValue(color));
}
-#if ENABLE(DATALIST_ELEMENT)
IntSize RenderThemeChromiumWin::sliderTickSize() const
{
return IntSize(1, 3);
@@ -274,7 +273,6 @@ int RenderThemeChromiumWin::sliderTickOffsetFromTrackCenter() const
{
return 11;
}
-#endif
void RenderThemeChromiumWin::adjustSliderThumbSize(RenderStyle* style, Element* element) const
{
@@ -323,9 +321,7 @@ bool RenderThemeChromiumWin::paintSliderTrack(RenderObject* o, const PaintInfo&
WebKit::WebCanvas* canvas = painter.context()->canvas();
WebKit::Platform::current()->themeEngine()->paintTrackbar(canvas, themeData.m_part, themeData.m_state, themeData.m_classicState, WebKit::WebRect(painter.drawRect()));
-#if ENABLE(DATALIST_ELEMENT)
paintSliderTicks(o, i, r);
-#endif
return false;
}
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumWin.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698