diff --git a/layout/generic/nsLineBox.cpp b/layout/generic/nsLineBox.cpp index 25f3187b7155..8dc62df029f4 100644 --- a/layout/generic/nsLineBox.cpp +++ b/layout/generic/nsLineBox.cpp @@ -225,7 +225,7 @@ nsLineIterator::~nsLineIterator() } } -NS_IMPL_QUERY_INTERFACE(nsLineIterator, kILineIteratorIID) +NS_IMPL_ISUPPORTS(nsLineIterator, kILineIteratorIID) nsresult nsLineIterator::Init(nsLineBox* aLines, PRBool aRightToLeft) diff --git a/layout/html/base/src/nsLineBox.cpp b/layout/html/base/src/nsLineBox.cpp index 25f3187b7155..8dc62df029f4 100644 --- a/layout/html/base/src/nsLineBox.cpp +++ b/layout/html/base/src/nsLineBox.cpp @@ -225,7 +225,7 @@ nsLineIterator::~nsLineIterator() } } -NS_IMPL_QUERY_INTERFACE(nsLineIterator, kILineIteratorIID) +NS_IMPL_ISUPPORTS(nsLineIterator, kILineIteratorIID) nsresult nsLineIterator::Init(nsLineBox* aLines, PRBool aRightToLeft)