Changes

Jump to: navigation, search

User:Egmetcalfe/Dead Code

745 bytes removed, 16:19, 9 April 2010
no edit summary
===ipc===
 
There is a tonne of dead ipc/chromium stuff not listed here. I'm operating on the assumption it will be too much of a hassle to deal with.
====bool mozilla::ipc::GeckoChildProcessHost::AsyncLaunch(vector)====
Code Size: 2
 
====PRBool PresShell::nsDelayedEvent::Equals(nsPIDOMEventTarget*,PRUint32)====
 
(Impossible to verify with MXR)
 
Code Size: 2, !
 
===layout/style===
 
====nsresult CSSLoaderImpl::StopLoadingSheet(nsIURI*)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=StopLoadingSheet MXR Search]
 
Code Size: 96, !
 
====StopLoadingSheetsByURIClosure::StopLoadingSheetsByURIClosure(nsIURI*,nsTArray&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=StopLoadingSheetsByURIClosure MXR Search] (called by StopLoadingSheet)
 
Code Size: 3, !
 
====void nsCSSCornerSizes::SetAllCornersTo(const nsCSSValue&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=SetAllCornersTo MXR Search] (NS_HIDDEN)
 
Code Size: 7, !
 
====nsCSSProperty nsCSSProps::LookupProperty(const nsACString_internal&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-z_A-Z%5DLookupProperty%5C%2528&regexp=1&case=1&find=&findi=&filter=%5E%5B%5E%5C0%5D*%2524&hitlimit=&tree=mozilla-central MXR Search] (Only nsAString version used)
 
Code Size: 5
 
====nsresult CSSLoaderImpl::GetPreferredSheet(nsAString_internal&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=GetPreferredSheet MXR Search]
 
Code Size: 4, !
===layout/inspector===
===xpcom/base===
====nsresult nsTraceRefcntImpl::LogAddRef(void*,nsrefcnt,const char*,PRUint32) et al====
6 of the functions of this class are dead but the [http://mxr.mozilla.org/mozilla-central/source/xpcom/base/nsITraceRefcnt.idl#43 idl file] lists the classes status as frozen (and deprecated).
== False Positives/Stuff that shouldn't be dealt with ==
=== accessible ===
These are all inherit from a template base class so these individual methods are unuded but removing them requires a major design change
Code Size: 4
 
====nsCSSProperty nsCSSProps::LookupProperty(const nsACString_internal&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-z_A-Z%5DLookupProperty%5C%2528&regexp=1&case=1&find=&findi=&filter=%5E%5B%5E%5C0%5D*%2524&hitlimit=&tree=mozilla-central MXR Search] Only nsAString version used (maybe)
 
Code Size: 5
 
====nsCSSKeyword nsCSSKeywords::LookupKeyword(const nsACString_internal&)====
1
edit

Navigation menu