Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(979)

Unified Diff: third_party/WebKit/Source/core/html/HTMLImageElement.cpp

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFormElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLLabelElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698