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

Unified Diff: Source/core/html/HTMLProgressElement.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/HTMLPlugInElement.cpp ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLProgressElement.cpp
diff --git a/Source/core/html/HTMLProgressElement.cpp b/Source/core/html/HTMLProgressElement.cpp
index 74ab17c21e07ec6abdda977398d174fcd3a0d5b4..70c5f99207e7adaf1c9b10c73883f6511af10ecb 100644
--- a/Source/core/html/HTMLProgressElement.cpp
+++ b/Source/core/html/HTMLProgressElement.cpp
@@ -67,10 +67,10 @@ LayoutObject* HTMLProgressElement::createLayoutObject(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);
}
« no previous file with comments | « Source/core/html/HTMLPlugInElement.cpp ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698