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

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

Issue 24430002: Rename attach and detach to createRenderTree/destroyRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index 7ded8f1ae11459baab8be9f532b593824b2becdc..183ff45cbdc1b8e360c94a1769c146c930458245 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -546,11 +546,11 @@ void HTMLMediaElement::removedFrom(ContainerNode* insertionPoint)
HTMLElement::removedFrom(insertionPoint);
}
-void HTMLMediaElement::attach(const AttachContext& context)
+void HTMLMediaElement::createRenderTree(const AttachContext& context)
{
ASSERT(!attached());
- HTMLElement::attach(context);
+ HTMLElement::createRenderTree(context);
if (renderer())
renderer()->updateFromElement();

Powered by Google App Engine
This is Rietveld 408576698