Bug 1168156 - Remove unused nsCSSValueTokenStream::mSheet. r=heycam

This commit is contained in:
Michael Layzell 2015-05-28 09:02:00 -04:00
parent 7d35de2ca3
commit b6e9896be7
2 changed files with 6 additions and 3 deletions

View File

@ -10001,7 +10001,8 @@ CSSParserImpl::ParseProperty(nsCSSProperty aPropID)
tokenStream->mBaseURI = mBaseURI;
tokenStream->mSheetURI = mSheetURI;
tokenStream->mSheetPrincipal = mSheetPrincipal;
tokenStream->mSheet = mSheet;
// XXX Should store sheet here (see bug 952338).
// tokenStream->mSheet = mSheet;
tokenStream->mLineNumber = stateBeforeProperty.mPosition.LineNumber();
tokenStream->mLineOffset = stateBeforeProperty.mPosition.LineOffset();
value.SetTokenStreamValue(tokenStream);
@ -10014,7 +10015,8 @@ CSSParserImpl::ParseProperty(nsCSSProperty aPropID)
tokenStream->mBaseURI = mBaseURI;
tokenStream->mSheetURI = mSheetURI;
tokenStream->mSheetPrincipal = mSheetPrincipal;
tokenStream->mSheet = mSheet;
// XXX Should store sheet here (see bug 952338).
// tokenStream->mSheet = mSheet;
tokenStream->mLineNumber = stateBeforeProperty.mPosition.LineNumber();
tokenStream->mLineOffset = stateBeforeProperty.mPosition.LineOffset();
value.SetTokenStreamValue(tokenStream);

View File

@ -1537,7 +1537,8 @@ public:
nsCOMPtr<nsIURI> mBaseURI;
nsCOMPtr<nsIURI> mSheetURI;
nsCOMPtr<nsIPrincipal> mSheetPrincipal;
mozilla::CSSStyleSheet* mSheet;
// XXX Should store sheet here (see Bug 952338)
// mozilla::CSSStyleSheet* mSheet;
uint32_t mLineNumber;
uint32_t mLineOffset;