Remove nsIHTMLContent interface (bug 276959). r+sr=jst.

This commit is contained in:
bryner@brianryner.com
2005-01-12 19:45:38 +00:00
parent fe9928228b
commit c4c10dcf35
97 changed files with 391 additions and 635 deletions

View File

@@ -37,7 +37,7 @@
#include "nsCOMPtr.h"
#include "nsFormControlFrame.h"
#include "nsHTMLParts.h"
#include "nsIHTMLContent.h"
#include "nsGenericHTMLElement.h"
#include "nsIRenderingContext.h"
#include "nsIPresShell.h"
#include "nsPresContext.h"
@@ -663,7 +663,7 @@ nsFormControlFrame::GetMaxLength(PRInt32* aSize)
*aSize = -1;
nsresult result = NS_CONTENT_ATTR_NOT_THERE;
nsCOMPtr<nsIHTMLContent> content(do_QueryInterface(mContent));
nsGenericHTMLElement *content = nsGenericHTMLElement::FromContent(mContent);
if (content) {
nsHTMLValue value;
@@ -681,7 +681,7 @@ nsFormControlFrame::GetSizeFromContent(PRInt32* aSize) const
*aSize = -1;
nsresult result = NS_CONTENT_ATTR_NOT_THERE;
nsCOMPtr<nsIHTMLContent> content(do_QueryInterface(mContent));
nsGenericHTMLElement *content = nsGenericHTMLElement::FromContent(mContent);
if (content) {
nsHTMLValue value;