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

Issue 1691073002: Add plumbing in blink to allow overriding the skia font manager. (Closed)

Created:
4 years, 10 months ago by Ilya Kulshin
Modified:
4 years, 10 months ago
CC:
chromium-reviews, krit, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, vmpstr+blinkwatch_chromium.org, dshwang, jam, jbroman, Justin Novosad, blink-reviews-api_chromium.org, danakj+watch_chromium.org, dglazkov+blink, Rik, darin-cc_chromium.org, blink-reviews, f(malita), kinuko+watch, Stephen Chennney, rwlbuis, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add plumbing in blink to allow overriding the skia font manager. This allows Chromium to use a custom font collection with skia, without having to patch the vtable of the DirectWrite factory. BUG= patch from issue 1591883002 at patchset 300001 (http://crrev.com/1591883002#ps300001) Committed: https://crrev.com/3f0cbf682e7dfe5ee8ebc171e473cece02c6c3cc Cr-Commit-Position: refs/heads/master@{#375714}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Re-add "using" declarations to fix non-windows build #

Patch Set 3 : Merge to head #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -69 lines) Patch
M content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.cc View 3 chunks +9 lines, -22 lines 0 comments Download
M content/child/font_warmup_win.cc View 2 chunks +3 lines, -25 lines 0 comments Download
M skia/config/sk_ref_cnt_ext_debug.h View 1 2 chunks +12 lines, -2 lines 0 comments Download
M skia/config/sk_ref_cnt_ext_release.h View 1 1 chunk +8 lines, -0 lines 4 comments Download
M third_party/WebKit/Source/platform/fonts/FontCache.h View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontCache.cpp View 2 chunks +11 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp View 1 2 1 chunk +9 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/web/win/WebFontRendering.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/public/web/win/WebFontRendering.h View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Ilya Kulshin
https://codereview.chromium.org/1691073002/diff/1/skia/config/sk_ref_cnt_ext_debug.h File skia/config/sk_ref_cnt_ext_debug.h (right): https://codereview.chromium.org/1691073002/diff/1/skia/config/sk_ref_cnt_ext_debug.h#newcode28 skia/config/sk_ref_cnt_ext_debug.h:28: private: Note: the actual change here is moving adopted() ...
4 years, 10 months ago (2016-02-11 20:40:18 UTC) #1
Ilya Kulshin
Attempt #2 at landing https://codereview.chromium.org/1591883002/, after fixing the release-only break. scottmg@ - please give owners ...
4 years, 10 months ago (2016-02-12 00:10:51 UTC) #3
scottmg
unchanged from previous attempt -> lgtm
4 years, 10 months ago (2016-02-12 00:36:59 UTC) #4
bungeman-skia
https://codereview.chromium.org/1691073002/diff/40001/skia/config/sk_ref_cnt_ext_release.h File skia/config/sk_ref_cnt_ext_release.h (right): https://codereview.chromium.org/1691073002/diff/40001/skia/config/sk_ref_cnt_ext_release.h#newcode18 skia/config/sk_ref_cnt_ext_release.h:18: namespace WTF { Is there a reason for adding ...
4 years, 10 months ago (2016-02-12 15:45:11 UTC) #6
Ilya Kulshin
https://codereview.chromium.org/1691073002/diff/40001/skia/config/sk_ref_cnt_ext_release.h File skia/config/sk_ref_cnt_ext_release.h (right): https://codereview.chromium.org/1691073002/diff/40001/skia/config/sk_ref_cnt_ext_release.h#newcode18 skia/config/sk_ref_cnt_ext_release.h:18: namespace WTF { On 2016/02/12 15:45:11, bungeman1 wrote: > ...
4 years, 10 months ago (2016-02-12 20:47:10 UTC) #7
bungeman-skia
On 2016/02/12 20:47:10, Ilya Kulshin wrote: > https://codereview.chromium.org/1691073002/diff/40001/skia/config/sk_ref_cnt_ext_release.h > File skia/config/sk_ref_cnt_ext_release.h (right): > > https://codereview.chromium.org/1691073002/diff/40001/skia/config/sk_ref_cnt_ext_release.h#newcode18 ...
4 years, 10 months ago (2016-02-12 20:55:32 UTC) #8
pfeldman
public lgtm
4 years, 10 months ago (2016-02-16 21:56:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1691073002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1691073002/40001
4 years, 10 months ago (2016-02-16 22:08:45 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-17 00:09:24 UTC) #13
commit-bot: I haz the power
4 years, 10 months ago (2016-02-17 00:10:25 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3f0cbf682e7dfe5ee8ebc171e473cece02c6c3cc
Cr-Commit-Position: refs/heads/master@{#375714}

Powered by Google App Engine
This is Rietveld 408576698