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

Unified Diff: third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp

Issue 2812643002: Fix names of local constants after blink rename. (Closed)
Patch Set: Created 3 years, 8 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/cssom/InlineStylePropertyMap.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp b/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp
index 90a247d0d1814a3931649222c0fdfa830eeb9c13..d8a642235a722592845763e0820ffc60515df369 100644
--- a/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp
@@ -98,7 +98,7 @@ CSSStyleValueVector InlineStylePropertyMap::GetAllInternal(
}
Vector<String> InlineStylePropertyMap::getProperties() {
- DEFINE_STATIC_LOCAL(const String, k_at_apply, ("@apply"));
+ DEFINE_STATIC_LOCAL(const String, kAtApply, ("@apply"));
Vector<String> result;
bool contains_at_apply = false;
StylePropertySet& inline_style_set =
@@ -113,7 +113,7 @@ Vector<String> InlineStylePropertyMap::getProperties() {
result.push_back(custom_declaration.GetName());
} else if (property_id == CSSPropertyApplyAtRule) {
if (!contains_at_apply) {
- result.push_back(k_at_apply);
+ result.push_back(kAtApply);
contains_at_apply = true;
}
} else {
@@ -211,7 +211,7 @@ void InlineStylePropertyMap::remove(CSSPropertyID property_id,
HeapVector<StylePropertyMap::StylePropertyMapEntry>
InlineStylePropertyMap::GetIterationEntries() {
- DEFINE_STATIC_LOCAL(const String, k_at_apply, ("@apply"));
+ DEFINE_STATIC_LOCAL(const String, kAtApply, ("@apply"));
HeapVector<StylePropertyMap::StylePropertyMapEntry> result;
StylePropertySet& inline_style_set =
owner_element_->EnsureMutableInlineStyle();
@@ -231,7 +231,7 @@ InlineStylePropertyMap::GetIterationEntries() {
value.setCSSStyleValue(
CSSUnsupportedStyleValue::Create(custom_declaration.CustomCSSText()));
} else if (property_id == CSSPropertyApplyAtRule) {
- name = k_at_apply;
+ name = kAtApply;
value.setCSSStyleValue(CSSUnsupportedStyleValue::Create(
ToCSSCustomIdentValue(property_reference.Value()).Value()));
} else {

Powered by Google App Engine
This is Rietveld 408576698