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

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

Issue 2054633002: [Typed OM] Implement FilteredComputedStylePropertyMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT FilteredCSPMap Created 4 years, 6 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 | « third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp
index 30e7aff4c3599fac013147251f270344e189f2b3..c33406c973e8998c1617e5931459037d39f30c35 100644
--- a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp
@@ -55,7 +55,7 @@ CSSStyleValue* StylePropertyMap::get(const String& propertyName, ExceptionState&
return nullptr;
}
- CSSStyleValueVector styleVector = getAll(propertyID);
+ CSSStyleValueVector styleVector = getAllInternal(propertyID);
if (styleVector.isEmpty())
return nullptr;
@@ -66,7 +66,7 @@ CSSStyleValueVector StylePropertyMap::getAll(const String& propertyName, Excepti
{
CSSPropertyID propertyID = cssPropertyID(propertyName);
if (propertyID != CSSPropertyInvalid)
- return getAll(propertyID);
+ return getAllInternal(propertyID);
// TODO(meade): Handle custom properties here.
exceptionState.throwTypeError("Invalid propertyName: " + propertyName);
@@ -77,7 +77,7 @@ bool StylePropertyMap::has(const String& propertyName, ExceptionState& exception
{
CSSPropertyID propertyID = cssPropertyID(propertyName);
if (propertyID != CSSPropertyInvalid)
- return !getAll(propertyID).isEmpty();
+ return !getAllInternal(propertyID).isEmpty();
// TODO(meade): Handle custom properties here.
exceptionState.throwTypeError("Invalid propertyName: " + propertyName);
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698