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

Unified Diff: Source/core/html/HTMLVideoElement.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/HTMLVideoElement.cpp
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp
index ded6f09305a1106a5ae5cf25a853ca4cd04aa459..5b7d0aba620d540f3cccd102f38de219a3a6f7a2 100644
--- a/Source/core/html/HTMLVideoElement.cpp
+++ b/Source/core/html/HTMLVideoElement.cpp
@@ -69,9 +69,9 @@ RenderObject* HTMLVideoElement::createRenderer(RenderStyle*)
return new RenderVideo(this);
}
-void HTMLVideoElement::attach(const AttachContext& context)
+void HTMLVideoElement::createRenderTree(const AttachContext& context)
{
- HTMLMediaElement::attach(context);
+ HTMLMediaElement::createRenderTree(context);
updateDisplayState();
if (shouldDisplayPosterImage()) {

Powered by Google App Engine
This is Rietveld 408576698