Bug 336989 Useless null check of aOwner in nsPluginHostImpl::InstantiateEmbeddedPlugin

Also fixing a spelling error which happens to appear in pluginhostimpl and xpconnect sample
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@198970 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org
2006-06-03 23:23:45 +00:00
parent 4397567068
commit adc085ea1f
2 changed files with 10 additions and 9 deletions

View File

@@ -68,7 +68,7 @@ href="http://bugzilla.mozilla.org/show_bug.cgi?id=14460">QueryInterface</a>.
<p><b><a href="http://lxr.mozilla.org/mozilla/source/xpcom/sample/nsSampleFactory.cpp">nsSampleFactory.cpp</a></b>
<p>This is the class which builds the instance of the nsSample class.
The COM framework uses factories to create instance of implementations
rather than having the implementations instatiate themselves in order to
rather than having the implementations instantiate themselves in order to
increase portability of code. This factory inherits from nsFactory,
which is also an XPCOM object. To gain more knowledge of factories
see the <a href="http://www.mozilla.org/projects/xpcom/generic-factory.html">generic