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

Unified Diff: Source/core/html/PluginDocument.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/PluginDocument.cpp
diff --git a/Source/core/html/PluginDocument.cpp b/Source/core/html/PluginDocument.cpp
index 60a2014414892028b25dbbb28ddc0e495bc74ac6..5da01a5ce1d5cd015c517fc0ad8c9b58c658fe29 100644
--- a/Source/core/html/PluginDocument.cpp
+++ b/Source/core/html/PluginDocument.cpp
@@ -166,9 +166,9 @@ PassRefPtrWillBeRawPtr<DocumentParser> PluginDocument::createParser()
Widget* PluginDocument::pluginWidget()
{
- if (m_pluginNode && m_pluginNode->renderer()) {
- ASSERT(m_pluginNode->renderer()->isEmbeddedObject());
- return toLayoutEmbeddedObject(m_pluginNode->renderer())->widget();
+ if (m_pluginNode && m_pluginNode->layoutObject()) {
+ ASSERT(m_pluginNode->layoutObject()->isEmbeddedObject());
+ return toLayoutEmbeddedObject(m_pluginNode->layoutObject())->widget();
}
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698