Chromium Code Reviews| Index: third_party/WebKit/Source/core/loader/resource/FontResource.h |
| diff --git a/third_party/WebKit/Source/core/loader/resource/FontResource.h b/third_party/WebKit/Source/core/loader/resource/FontResource.h |
| index e1da23354a720366db86adebe1ff2cab91a7adf5..e7cfae30383c4ea97f74801f3cf720cd763d55fd 100644 |
| --- a/third_party/WebKit/Source/core/loader/resource/FontResource.h |
| +++ b/third_party/WebKit/Source/core/loader/resource/FontResource.h |
| @@ -42,6 +42,7 @@ class ResourceFetcher; |
| class FontPlatformData; |
| class FontCustomPlatformData; |
| class FontResourceClient; |
| +class FontVariationSettings; |
| class CORE_EXPORT FontResource final : public Resource { |
| public: |
| @@ -66,7 +67,8 @@ class CORE_EXPORT FontResource final : public Resource { |
| float size, |
| bool bold, |
| bool italic, |
| - FontOrientation = FontOrientation::Horizontal); |
| + FontOrientation = FontOrientation::Horizontal, |
| + FontVariationSettings* = nullptr); |
|
eae
2016/12/16 18:48:27
Can this be a const pointer?
drott
2016/12/19 14:12:34
Yes, modified accordingly.
|
| // Returns true if the loading priority of the remote font resource can be |
| // lowered. The loading priority of the font can be lowered only if the |