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

Unified Diff: Source/core/html/HTMLPlugInElement.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/HTMLPlugInElement.cpp
diff --git a/Source/core/html/HTMLPlugInElement.cpp b/Source/core/html/HTMLPlugInElement.cpp
index 9af98d1fab565b2b0c90ccc829aa9367897b7dc7..3fb6fcd82477571aacc6bd3982c4490d35a37c20 100644
--- a/Source/core/html/HTMLPlugInElement.cpp
+++ b/Source/core/html/HTMLPlugInElement.cpp
@@ -88,7 +88,7 @@ void HTMLPlugInElement::removeAllEventListeners()
}
}
-void HTMLPlugInElement::detach(const AttachContext& context)
+void HTMLPlugInElement::destroyRenderTree(const AttachContext& context)
{
m_instance.clear();
@@ -103,7 +103,7 @@ void HTMLPlugInElement::detach(const AttachContext& context)
m_NPObject = 0;
}
- HTMLFrameOwnerElement::detach(context);
+ HTMLFrameOwnerElement::destroyRenderTree(context);
}
void HTMLPlugInElement::resetInstance()

Powered by Google App Engine
This is Rietveld 408576698