Changes

Jump to: navigation, search

User:Egmetcalfe/Dead Code

742 bytes added, 01:16, 24 March 2010
no edit summary
Code Size: 17
 
===widget===
 
====PRBool confirm_overwrite_file(GtkWidget*,nsILocalFile*)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=confirm_overwrite_file MXR Search]
 
Code Size: 95
 
====nsresult nsDeviceContextSpecGTK::GetPrintMethod(PrintMethod&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=GetPrintMethod MXR Search]
 
Code Size: 4
 
====void nsPrinterFeatures::SetMultipleConcurrentDeviceContextsSupported(PRBool)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=SetMultipleConcurrentDeviceContextsSupported MXR Search]
 
Code Size: 2
 
====nsCursor nsBaseWidget::GetCursor()====
 
[http://mxr.mozilla.org/mozilla-central/search?string=GetCursor MXR Search]
 
Code Size: 2
 
Note: Must also be removed from nsIWidget.
== Bugs/Strangeness ==
Code Size: 2
This is declared in the header [http://mxr.mozilla.org/mozilla-central/source/layout/xul/base/src/nsBox.h#111 here] as taking an ncoord& parameter however it is defined [http://mxr.mozilla.org/mozilla-central/source/layout/xul/base/src/nsBox.cpp#412 here] as taking PRInt32&. This could be problematic if [NS_COORD_IS_FLOAT http://mxr.mozilla.org/mozilla-central/source/gfx/public/nsCoord.h#74NS_COORD_IS_FLOAT] is defined.
1
edit

Navigation menu