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

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

Issue 2040853002: Changed CSSParser::parseFontFaceDescriptor to return a const CSSValue* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_fix_copy_locs
Patch Set: Rebase 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 | « no previous file | third_party/WebKit/Source/core/css/FontFace.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/FontFace.h
diff --git a/third_party/WebKit/Source/core/css/FontFace.h b/third_party/WebKit/Source/core/css/FontFace.h
index 68182b60e285f3f7487717438195b7540b9d0703..89470451805edd55d51ec6c43a880a6793bff6a5 100644
--- a/third_party/WebKit/Source/core/css/FontFace.h
+++ b/third_party/WebKit/Source/core/css/FontFace.h
@@ -121,11 +121,11 @@ private:
explicit FontFace(ExecutionContext*);
FontFace(ExecutionContext*, const AtomicString& family, const FontFaceDescriptors&);
- void initCSSFontFace(Document*, CSSValue* src);
+ void initCSSFontFace(Document*, const CSSValue* src);
void initCSSFontFace(const unsigned char* data, size_t);
void setPropertyFromString(const Document*, const String&, CSSPropertyID, ExceptionState* = 0);
bool setPropertyFromStyle(const StylePropertySet&, CSSPropertyID);
- bool setPropertyValue(CSSValue*, CSSPropertyID);
+ bool setPropertyValue(const CSSValue*, CSSPropertyID);
bool setFamilyValue(const CSSValue&);
void loadInternal(ExecutionContext*);
ScriptPromise fontStatusPromise(ScriptState*);
@@ -134,13 +134,13 @@ private:
AtomicString m_family;
String m_otsParseMessage;
- Member<CSSValue> m_style;
- Member<CSSValue> m_weight;
- Member<CSSValue> m_stretch;
- Member<CSSValue> m_unicodeRange;
- Member<CSSValue> m_variant;
- Member<CSSValue> m_featureSettings;
- Member<CSSValue> m_display;
+ Member<const CSSValue> m_style;
+ Member<const CSSValue> m_weight;
+ Member<const CSSValue> m_stretch;
+ Member<const CSSValue> m_unicodeRange;
+ Member<const CSSValue> m_variant;
+ Member<const CSSValue> m_featureSettings;
+ Member<const CSSValue> m_display;
LoadStatusType m_status;
Member<DOMException> m_error;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/FontFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698