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

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

Issue 2036943002: Reduced the callers to the non-const version of CSSValueList::item() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_make_cssvaluelist_take_const_ref
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/CSSFontFaceSrcValue.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/CSSFontFaceSrcValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.h b/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.h
index fe855ff5abafd9bbecfbb83ed5fc9b3dce8be43c..1314617ed8024498f978360e37a4d87a58eea9c0 100644
--- a/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.h
+++ b/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.h
@@ -61,7 +61,7 @@ public:
bool hasFailedOrCanceledSubresources() const;
- FontResource* fetch(Document*);
+ FontResource* fetch(Document*) const;
bool equals(const CSSFontFaceSrcValue&) const;
@@ -81,7 +81,7 @@ private:
{
}
- void restoreCachedResourceIfNeeded(Document*);
+ void restoreCachedResourceIfNeeded(Document*) const;
String m_absoluteResource;
String m_specifiedResource;
@@ -109,7 +109,7 @@ private:
String debugName() const override { return "CSSFontFaceSrcValue::FontResourceHelper"; }
};
- Member<FontResourceHelper> m_fetched;
+ mutable Member<FontResourceHelper> m_fetched;
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSFontFaceSrcValue, isFontFaceSrcValue());
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698