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

Unified Diff: content/child/font_warmup_win_unittest.cc

Issue 1878913002: add SK_SUPPORT_NEW_ONCREATESCALERCONTEXT for upcoming skia change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/font_warmup_win_unittest.cc
diff --git a/content/child/font_warmup_win_unittest.cc b/content/child/font_warmup_win_unittest.cc
index 91c0c84393c406ccd54bf73157b908c027ecd715..a5348ed4e4008f28e70e0e8311f367700b633a2f 100644
--- a/content/child/font_warmup_win_unittest.cc
+++ b/content/child/font_warmup_win_unittest.cc
@@ -37,7 +37,12 @@ class TestSkTypeface : public SkTypeface {
data_(data, data + dataLength) {}
protected:
+#ifdef SK_SUPPORT_NEW_ONCREATESCALERCONTEXT
+ SkScalerContext* onCreateScalerContext(const SkScalerContextEffects&,
+ const SkDescriptor*) const override {
+#else
SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override {
+#endif
ADD_FAILURE();
return nullptr;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698