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

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

Issue 2658073003: Remove redundant argument being passed to didRecalcStyle (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/core/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index ee87d5e9c8acf45521a3bfc18554f9700d2c7127..17db7ea41bc8c35c6e06716d1a61d981110ccc11 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -1935,7 +1935,7 @@ void Element::recalcStyle(StyleRecalcChange change, Text* nextTextSibling) {
}
if (hasCustomStyleCallbacks())
- didRecalcStyle(change);
+ didRecalcStyle();
}
PassRefPtr<ComputedStyle> Element::propagateInheritedProperties(
@@ -3728,7 +3728,7 @@ void Element::willRecalcStyle(StyleRecalcChange) {
DCHECK(hasCustomStyleCallbacks());
}
-void Element::didRecalcStyle(StyleRecalcChange) {
+void Element::didRecalcStyle() {
DCHECK(hasCustomStyleCallbacks());
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.h ('k') | third_party/WebKit/Source/core/dom/FirstLetterPseudoElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698