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

Unified Diff: Source/core/css/resolver/StyleAdjuster.cpp

Issue 1251523003: Delete AuthorStyleInfo and move its data into ComputedStyle.RareNonInheritedData. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove spurious comment Created 5 years, 5 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/css/resolver/StyleAdjuster.cpp
diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp
index ea0adfd5adacb3065e46e9a919226b7510e37cc5..40f0aa6c98edd0c7bb8d454ea9982df177488cc0 100644
--- a/Source/core/css/resolver/StyleAdjuster.cpp
+++ b/Source/core/css/resolver/StyleAdjuster.cpp
@@ -157,7 +157,7 @@ static bool hasWillChangeThatCreatesStackingContext(const ComputedStyle& style)
return false;
}
-void StyleAdjuster::adjustComputedStyle(ComputedStyle& style, const ComputedStyle& parentStyle, Element *e, const AuthorStyleInfo& authorStyle)
+void StyleAdjuster::adjustComputedStyle(ComputedStyle& style, const ComputedStyle& parentStyle, Element *e)
{
if (style.display() != NONE) {
if (e && e->isHTMLElement())
@@ -224,7 +224,7 @@ void StyleAdjuster::adjustComputedStyle(ComputedStyle& style, const ComputedStyl
// Let the theme also have a crack at adjusting the style.
if (style.hasAppearance())
- LayoutTheme::theme().adjustStyle(style, e, authorStyle);
+ LayoutTheme::theme().adjustStyle(style, e);
// If we have first-letter pseudo style, transitions, or animations, do not share this style.
if (style.hasPseudoStyle(FIRST_LETTER) || style.transitions() || style.animations())

Powered by Google App Engine
This is Rietveld 408576698