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

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

Issue 2677843002: Change ComputedStyle::setUnique to take bool parameter. (Closed)
Patch Set: Created 3 years, 10 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/StyleBuilderCustom.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
index 00a1398e559fc9cde099c9e0bc8993a4474523e6..e1b36731233dcf0560b2d723ba4ac07d6dbb89d3 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
@@ -794,9 +794,9 @@ void StyleBuilderFunctions::applyValueCSSPropertyContent(
DCHECK_EQ(functionValue->functionType(), CSSValueAttr);
// FIXME: Can a namespace be specified for an attr(foo)?
if (state.style()->styleType() == PseudoIdNone)
- state.style()->setUnique();
+ state.style()->setUnique(true);
else
- state.parentStyle()->setUnique();
+ state.parentStyle()->setUnique(true);
QualifiedName attr(
nullAtom, toCSSCustomIdentValue(functionValue->item(0)).value(),
nullAtom);

Powered by Google App Engine
This is Rietveld 408576698