More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1100,7 +1100,7 @@ nsStyleVisibility::nsStyleVisibility(nsIPresContext* aPresContext)
|
||||
else
|
||||
mDirection = NS_STYLE_DIRECTION_LTR;
|
||||
|
||||
aPresContext->GetLanguage(getter_AddRefs(mLanguage));
|
||||
mLanguage = aPresContext->GetLanguage();
|
||||
mVisible = NS_STYLE_VISIBILITY_VISIBLE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user