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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 10 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: 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();

Powered by Google App Engine
This is Rietveld 408576698