зеркало из https://github.com/mozilla/pjs.git
fixing unix horkage
This commit is contained in:
Родитель
2e110f1c63
Коммит
a6e2697990
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче