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

Unified Diff: Source/core/dom/Element.cpp

Issue 214473004: Rename RenderStyle::diff and RenderStyle::compare to better names (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: better names Created 6 years, 9 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/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 68c87a18275342fe1464c92f6f428ecc478f7b12..c23fd3feaca221cd5a98fda3766a69cda2ed2047 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -1616,7 +1616,7 @@ StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change)
RefPtr<RenderStyle> oldStyle = renderStyle();
RefPtr<RenderStyle> newStyle = styleForRenderer();
- StyleRecalcChange localChange = RenderStyle::compare(oldStyle.get(), newStyle.get());
+ StyleRecalcChange localChange = RenderStyle::stylePropogationDiff(oldStyle.get(), newStyle.get());
ASSERT(newStyle);

Powered by Google App Engine
This is Rietveld 408576698