Index: third_party/WebKit/Source/core/html/HTMLImageElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp |
index ff3b1017fc921d60d67e9ac3f59a75181aca43ca..d92d0d739fad69971443941a0fc8a9a3925f939d 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp |
@@ -406,7 +406,7 @@ void HTMLImageElement::removedFrom(ContainerNode* insertionPoint) |
int HTMLImageElement::width() |
{ |
if (inActiveDocument()) |
- document().updateLayoutIgnorePendingStylesheets(); |
+ document().updateStyleAndLayoutIgnorePendingStylesheets(); |
if (!layoutObject()) { |
// check the attribute first for an explicit pixel value |
@@ -427,7 +427,7 @@ int HTMLImageElement::width() |
int HTMLImageElement::height() |
{ |
if (inActiveDocument()) |
- document().updateLayoutIgnorePendingStylesheets(); |
+ document().updateStyleAndLayoutIgnorePendingStylesheets(); |
if (!layoutObject()) { |
// check the attribute first for an explicit pixel value |
@@ -520,7 +520,7 @@ void HTMLImageElement::setWidth(int value) |
int HTMLImageElement::x() const |
{ |
- document().updateLayoutIgnorePendingStylesheets(); |
+ document().updateStyleAndLayoutIgnorePendingStylesheets(); |
LayoutObject* r = layoutObject(); |
if (!r) |
return 0; |
@@ -532,7 +532,7 @@ int HTMLImageElement::x() const |
int HTMLImageElement::y() const |
{ |
- document().updateLayoutIgnorePendingStylesheets(); |
+ document().updateStyleAndLayoutIgnorePendingStylesheets(); |
LayoutObject* r = layoutObject(); |
if (!r) |
return 0; |