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

Unified Diff: Source/core/html/HTMLProgressElement.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/HTMLProgressElement.cpp
diff --git a/Source/core/html/HTMLProgressElement.cpp b/Source/core/html/HTMLProgressElement.cpp
index 6333ef9fa9521fb6094bdde29d5920f36f03e2c4..cd361c29ad219e029f9349b8c6091204d6d3860e 100644
--- a/Source/core/html/HTMLProgressElement.cpp
+++ b/Source/core/html/HTMLProgressElement.cpp
@@ -67,10 +67,10 @@ LayoutObject* HTMLProgressElement::createRenderer(const LayoutStyle& style)
LayoutProgress* HTMLProgressElement::layoutProgress() const
{
- if (renderer() && renderer()->isProgress())
- return toLayoutProgress(renderer());
+ if (layoutObject() && layoutObject()->isProgress())
+ return toLayoutProgress(layoutObject());
- LayoutObject* layoutObject = closedShadowRoot()->firstChild()->renderer();
+ LayoutObject* layoutObject = closedShadowRoot()->firstChild()->layoutObject();
ASSERT_WITH_SECURITY_IMPLICATION(!layoutObject || layoutObject->isProgress());
return toLayoutProgress(layoutObject);
}

Powered by Google App Engine
This is Rietveld 408576698