Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert

This commit is contained in:
Cameron McCormack
2016-02-24 18:01:11 +11:00
parent 1fd85b244f
commit 8a879b8032
56 changed files with 329 additions and 124 deletions

View File

@@ -8,7 +8,8 @@
#include "nsGkAtoms.h"
#include "nsCSSPseudoElements.h"
#include "nsNameSpaceManager.h"
#include "nsStyleSet.h"
#include "mozilla/StyleSetHandle.h"
#include "mozilla/StyleSetHandleInlines.h"
#include "nsDisplayList.h"
#include "nsITheme.h"
#include "nsFrame.h"
@@ -451,7 +452,7 @@ nsButtonFrameRenderer::ReResolveStyles(nsPresContext* aPresContext)
{
// get all the styles
nsStyleContext* context = mFrame->StyleContext();
nsStyleSet *styleSet = aPresContext->StyleSet();
StyleSetHandle styleSet = aPresContext->StyleSet();
#ifdef DEBUG
if (mInnerFocusStyle) {