sync to style set api change
git-svn-id: svn://10.0.0.236/trunk@18434 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -596,7 +596,7 @@ DocumentViewerImpl::CreateStyleSet(nsIDocument* aDocument,
|
||||
|
||||
while (0 < index--) {
|
||||
nsIStyleSheet* sheet = aDocument->GetStyleSheetAt(index);
|
||||
(*aStyleSet)->AppendDocStyleSheet(sheet);
|
||||
(*aStyleSet)->AddDocStyleSheet(sheet, aDocument);
|
||||
NS_RELEASE(sheet);
|
||||
}
|
||||
if (nsnull != mUAStyleSheet) {
|
||||
|
||||
Reference in New Issue
Block a user