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

Unified Diff: Source/core/editing/EditingTestBase.cpp

Issue 1328013002: Add early out back to Node::updateDistribution(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: do it right. Created 5 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
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/EditingTestBase.cpp
diff --git a/Source/core/editing/EditingTestBase.cpp b/Source/core/editing/EditingTestBase.cpp
index 8e196071ec796dc755033f7c35bdc9369a3dd6e8..4f7fa782d082088d15ad0bd6e89e505fb26fbc50 100644
--- a/Source/core/editing/EditingTestBase.cpp
+++ b/Source/core/editing/EditingTestBase.cpp
@@ -47,7 +47,7 @@ void EditingTestBase::setBodyContent(const char* bodyContent)
PassRefPtrWillBeRawPtr<ShadowRoot> EditingTestBase::setShadowContent(const char* shadowContent, const char* host)
{
RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = createShadowRootForElementWithIDAndSetInnerHTML(document(), host, shadowContent);
- document().recalcDistribution();
+ document().updateDistribution();
return shadowRoot.release();
}
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698