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

Unified Diff: Source/core/html/HTMLTableColElement.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/html/HTMLTableCellElement.cpp ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTableColElement.cpp
diff --git a/Source/core/html/HTMLTableColElement.cpp b/Source/core/html/HTMLTableColElement.cpp
index a2ada39fcc5fd049318ab57e3b19ada1cfec0274..be96aea2ff2384804af8bd455d518c49a94fa850 100644
--- a/Source/core/html/HTMLTableColElement.cpp
+++ b/Source/core/html/HTMLTableColElement.cpp
@@ -68,12 +68,12 @@ void HTMLTableColElement::parseAttribute(const QualifiedName& name, const Atomic
newSpan = 1;
}
m_span = newSpan;
- if (renderer() && renderer()->isLayoutTableCol())
- renderer()->updateFromElement();
+ if (layoutObject() && layoutObject()->isLayoutTableCol())
+ layoutObject()->updateFromElement();
} else if (name == widthAttr) {
if (!value.isEmpty()) {
- if (renderer() && renderer()->isLayoutTableCol()) {
- LayoutTableCol* col = toLayoutTableCol(renderer());
+ if (layoutObject() && layoutObject()->isLayoutTableCol()) {
+ LayoutTableCol* col = toLayoutTableCol(layoutObject());
int newWidth = width().toInt();
if (newWidth != col->size().width())
col->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
« no previous file with comments | « Source/core/html/HTMLTableCellElement.cpp ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698