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

Unified Diff: Source/core/html/HTMLObjectElement.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/HTMLOListElement.cpp ('k') | Source/core/html/HTMLOptGroupElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLObjectElement.cpp
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp
index 3edbd5175587bb7dfb2b1026d666cca0f9ec8681..ada88eb3eb987dcac62bfa6f5493b746b878a2e2 100644
--- a/Source/core/html/HTMLObjectElement.cpp
+++ b/Source/core/html/HTMLObjectElement.cpp
@@ -107,11 +107,11 @@ void HTMLObjectElement::parseAttribute(const QualifiedName& name, const AtomicSt
// FIXME: What is the right thing to do here? Should we supress the
// reload stuff when a persistable widget-type is specified?
reloadPluginOnAttributeChange(name);
- if (!renderer())
+ if (!layoutObject())
requestPluginCreationWithoutRendererIfPossible();
} else if (name == dataAttr) {
m_url = stripLeadingAndTrailingHTMLSpaces(value);
- if (renderer() && isImageType()) {
+ if (layoutObject() && isImageType()) {
setNeedsWidgetUpdate(true);
if (!m_imageLoader)
m_imageLoader = HTMLImageLoader::create(this);
@@ -294,7 +294,7 @@ void HTMLObjectElement::updateWidgetInternal()
}
// FIXME: Is it possible to get here without a renderer now that we don't have beforeload events?
- if (!renderer())
+ if (!layoutObject())
return;
if (!hasValidClassId() || !requestObject(url, serviceType, paramNames, paramValues)) {
« no previous file with comments | « Source/core/html/HTMLOListElement.cpp ('k') | Source/core/html/HTMLOptGroupElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698