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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp

Issue 2187493004: Add a generated ComputedStyleBase class that ComputedStyle extends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_make_visibility_enum_class_rebase
Patch Set: Rebase onto fast path patches Created 4 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: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
index 05de7ec4f05d26612c57f0684b79c626b21a15e1..9a1773beb09ac8a171b6f23fa23c3b6100bb15d5 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
@@ -754,7 +754,7 @@ PassRefPtr<ComputedStyle> StyleResolver::styleForElement(Element* element, const
} else {
if (state.parentStyle()) {
RefPtr<ComputedStyle> style = ComputedStyle::create();
- style->inheritFrom(*state.parentStyle(), isAtShadowBoundary(element) ? ComputedStyle::AtShadowBoundary : ComputedStyle::NotAtShadowBoundary);
+ style->inheritFrom(*state.parentStyle(), isAtShadowBoundary(element) ? AtShadowBoundary : NotAtShadowBoundary);
state.setStyle(style.release());
} else {
state.setStyle(initialStyleForElement());

Powered by Google App Engine
This is Rietveld 408576698