This commit is contained in:
jfrancis%netscape.com 2000-01-04 04:03:28 +00:00
Родитель 2e110f1c63
Коммит a6e2697990
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -260,7 +260,7 @@ nsHTMLImageElement::GetIntrinsicImageSize(nsSize& aSize)
frame->GetFrameType(getter_AddRefs(type));
if (type == nsLayoutAtoms::imageFrame) {
if (type.get() == nsLayoutAtoms::imageFrame) {
// XXX We could have created an interface for this, but Troy
// preferred the ugliness of a static cast to the weight of
// a new interface.

Просмотреть файл

@ -260,7 +260,7 @@ nsHTMLImageElement::GetIntrinsicImageSize(nsSize& aSize)
frame->GetFrameType(getter_AddRefs(type));
if (type == nsLayoutAtoms::imageFrame) {
if (type.get() == nsLayoutAtoms::imageFrame) {
// XXX We could have created an interface for this, but Troy
// preferred the ugliness of a static cast to the weight of
// a new interface.