Changes for qnx(photon) platform. They should not affect runtime/building other platforms.
The nsDeviceContext::CommonInit() was called twice ( from nsDeviceContextPh::Init(w) ) git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@157026 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -140,6 +140,9 @@ nsresult nsDeviceContextPh :: Init( nsNativeDeviceContext aContext, nsIDeviceCon
|
||||
mWidthFloat = w;
|
||||
mHeightFloat = h;
|
||||
|
||||
/* Call Base Class */
|
||||
DeviceContextImpl::CommonInit( );
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
@@ -217,9 +220,6 @@ void nsDeviceContextPh :: CommonInit( nsNativeDeviceContext aDC ) {
|
||||
/* Revisit: the scroll bar sizes is a gross guess based on Phab */
|
||||
mScrollbarHeight = 17;
|
||||
mScrollbarWidth = 17;
|
||||
|
||||
/* Call Base Class */
|
||||
DeviceContextImpl::CommonInit( );
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsDeviceContextPh :: CreateRenderingContext( nsIRenderingContext *&aContext ) {
|
||||
|
||||
Reference in New Issue
Block a user