Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -422,7 +422,7 @@ nsSubDocumentFrame::Reflow(nsIPresContext* aPresContext,
|
||||
// resize the sub document
|
||||
if (baseWindow) {
|
||||
float t2p;
|
||||
aPresContext->GetTwipsToPixels(&t2p);
|
||||
t2p = aPresContext->TwipsToPixels();
|
||||
PRInt32 x = 0;
|
||||
PRInt32 y = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user