53151 68396 sr=kin r= kin. removing some ifdefs of dead ender-lite code and fixing a mail news lockup in text traversal
git-svn-id: svn://10.0.0.236/trunk@92123 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -82,6 +82,7 @@
|
||||
#include "nsIXBLBinding.h"
|
||||
#include "nsIElementFactory.h"
|
||||
#include "nsContentCID.h"
|
||||
#include "nsFormControlHelper.h"
|
||||
|
||||
static NS_DEFINE_CID(kTextNodeCID, NS_TEXTNODE_CID);
|
||||
static NS_DEFINE_CID(kHTMLElementFactoryCID, NS_HTML_ELEMENT_FACTORY_CID);
|
||||
@@ -107,7 +108,6 @@ static NS_DEFINE_CID(kAttributeContentCID, NS_ATTRIBUTECONTENT_CID);
|
||||
#include "nsInlineFrame.h"
|
||||
#include "nsBlockFrame.h"
|
||||
|
||||
#include "nsGfxTextControlFrame.h"
|
||||
#include "nsIScrollableFrame.h"
|
||||
|
||||
#include "nsIServiceManager.h"
|
||||
@@ -4105,12 +4105,6 @@ nsCSSFrameConstructor::ConstructTextControlFrame(nsIPresShell* aPresShell
|
||||
if (NS_FAILED(rv)) {
|
||||
aNewFrame = nsnull;
|
||||
}
|
||||
if (aNewFrame)
|
||||
{
|
||||
#ifndef ENDER_LITE
|
||||
((nsGfxTextControlFrame*)aNewFrame)->SetFrameConstructor(this);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
if (!aNewFrame)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user