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

Unified Diff: third_party/WebKit/Source/core/css/StylePropertySet.h

Issue 1697233003: Allow custom property variant of setProperty to find existing references (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/StylePropertySet.h
diff --git a/third_party/WebKit/Source/core/css/StylePropertySet.h b/third_party/WebKit/Source/core/css/StylePropertySet.h
index 3f900840e7d0a238ebc156477b16972791734cfb..40aff7cd282c338f83c8b0b5f11c4b23fb73114c 100644
--- a/third_party/WebKit/Source/core/css/StylePropertySet.h
+++ b/third_party/WebKit/Source/core/css/StylePropertySet.h
@@ -245,7 +245,7 @@ private:
bool removeShorthandProperty(CSSPropertyID);
bool removeShorthandProperty(const AtomicString& customPropertyName) { return false; }
- CSSProperty* findCSSPropertyWithID(CSSPropertyID);
+ CSSProperty* findCSSPropertyWithID(CSSPropertyID, const AtomicString& customPropertyName = nullAtom);
OwnPtrWillBeMember<PropertySetCSSStyleDeclaration> m_cssomWrapper;
friend class StylePropertySet;

Powered by Google App Engine
This is Rietveld 408576698