Bug 855301 - Add support for native theming of <input type=range> on Linux. r=roc

This commit is contained in:
Jonathan Watt
2013-03-28 20:25:05 +00:00
parent 3ee39fc052
commit 407dc1d74e
8 changed files with 64 additions and 15 deletions

View File

@@ -198,10 +198,6 @@ nsRangeFrame::ReflowAnonymousContent(nsPresContext* aPresContext,
nsHTMLReflowMetrics& aDesiredSize,
const nsHTMLReflowState& aReflowState)
{
if (ShouldUseNativeStyle()) {
return NS_OK; // No need to reflow since we're not using these frames
}
// The width/height of our content box, which is the available width/height
// for our anonymous content:
nscoord rangeFrameContentBoxWidth = aReflowState.ComputedWidth();