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

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

Issue 2390373002: Fix setting properties on CSSFontFaceRule (Closed)
Patch Set: Created 4 years, 2 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 e3ca5dc0eccd12ef395857fe0a621a0133fca65a..3890d454a13c6b912b461224726b3de8c15fb4de 100644
--- a/third_party/WebKit/Source/core/css/StylePropertySet.h
+++ b/third_party/WebKit/Source/core/css/StylePropertySet.h
@@ -204,7 +204,8 @@ class CORE_EXPORT MutableStylePropertySet : public StylePropertySet {
~MutableStylePropertySet() {}
static MutableStylePropertySet* create(CSSParserMode);
static MutableStylePropertySet* create(const CSSProperty* properties,
- unsigned count);
+ unsigned count,
+ CSSParserMode = HTMLStandardMode);
Timothy Loh 2016/10/05 03:08:54 Doesn't look like any of these changes are needed.
rwlbuis 2016/10/05 14:21:37 Well spotted, I think I was trying multiple approa
unsigned propertyCount() const { return m_propertyVector.size(); }
@@ -251,7 +252,9 @@ class CORE_EXPORT MutableStylePropertySet : public StylePropertySet {
private:
explicit MutableStylePropertySet(CSSParserMode);
explicit MutableStylePropertySet(const StylePropertySet&);
- MutableStylePropertySet(const CSSProperty* properties, unsigned count);
+ MutableStylePropertySet(const CSSProperty* properties,
+ unsigned count,
+ CSSParserMode);
bool removePropertyAtIndex(int, String* returnText);

Powered by Google App Engine
This is Rietveld 408576698