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

Unified Diff: Source/core/css/RuleFeature.cpp

Issue 1249553002: CSSValue Immediates: Add move operators to CSSPrimitiveValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_3_tagged_ptrs_with_copy_ops_mv_operators_ref_primvalue
Patch Set: Rebase 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
« no previous file with comments | « Source/core/css/Rect.h ('k') | Source/core/css/StylePropertySerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/RuleFeature.cpp
diff --git a/Source/core/css/RuleFeature.cpp b/Source/core/css/RuleFeature.cpp
index 09c51695d6682a80178dbdb0448a3a05c2c03c6e..dda1f83551f52f199326e6248d8daf244f7ed678 100644
--- a/Source/core/css/RuleFeature.cpp
+++ b/Source/core/css/RuleFeature.cpp
@@ -313,7 +313,7 @@ void RuleFeatureSet::updateInvalidationSetsForContentAttribute(const RuleData& r
for (auto& item : toCSSValueList(contentValue)) {
if (!item.isPrimitiveValue())
continue;
- CSSPrimitiveValue& primitiveItem = toCSSPrimitiveValue(item);
+ const CSSPrimitiveValue& primitiveItem = toCSSPrimitiveValue(item);
if (!primitiveItem.isAttr())
continue;
ensureAttributeInvalidationSet(AtomicString(primitiveItem.getStringValue()));
« no previous file with comments | « Source/core/css/Rect.h ('k') | Source/core/css/StylePropertySerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698