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

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

Issue 2726733004: [Experimental] Implement some part of custom properties in style maps (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/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 edcc24f27a5ad1b347a3db02bbcf382fcdc0a92e..49542ca26b65beff02e5f2eaf7610e6b8976cc07 100644
--- a/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp
@@ -72,10 +72,11 @@ CSSStyleValueVector InlineStylePropertyMap::getAllInternal(
}
CSSStyleValueVector InlineStylePropertyMap::getAllInternal(
- AtomicString customPropertyName) {
+ String customPropertyName) {
+ // TODO(meade): Let's avoid interning strings here if they're incorrect.
const CSSValue* cssValue =
m_ownerElement->ensureMutableInlineStyle().getPropertyCSSValue(
- customPropertyName);
+ AtomicString(customPropertyName));
if (!cssValue)
return CSSStyleValueVector();

Powered by Google App Engine
This is Rietveld 408576698