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

Unified Diff: Source/core/html/HTMLObjectElement.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/HTMLObjectElement.cpp
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp
index eb9f93f6fc72d5629a29a96c1a41645724879fe1..3785a6957bd972a304ee25930d0a7cd4664f8769 100644
--- a/Source/core/html/HTMLObjectElement.cpp
+++ b/Source/core/html/HTMLObjectElement.cpp
@@ -361,9 +361,9 @@ void HTMLObjectElement::reattachFallbackContent()
// This can happen inside of attach() in the middle of a recalcStyle so we need to
// reattach synchronously here.
if (document().inStyleRecalc())
- reattach();
+ recreateRenderTree();
else
- lazyReattach();
+ scheduleRenderTreeReconstruction();
}
void HTMLObjectElement::renderFallbackContent()

Powered by Google App Engine
This is Rietveld 408576698