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

Issue 1557513002: Add logic to switch to DirectWrite font proxy via field trial. (Closed)

Created:
4 years, 11 months ago by Ilya Kulshin
Modified:
4 years, 11 months ago
Reviewers:
jam, jschuh, ananta, fdoray
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, mlamouri+watch-test-runner_chromium.org, nasko+codewatch_chromium.org, rickyz+watch_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add logic to switch to DirectWrite font proxy via field trial. BUG=525142 patch from issue 1432123002 at patchset 180001 (http://crrev.com/1432123002#ps180001) Committed: https://crrev.com/e186ab5f13cb800b27dd6996c177e9ae4048ae2b Cr-Commit-Position: refs/heads/master@{#368758}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Make sure g_warmup_fontmgr is not leaked, and other misc fixes. #

Total comments: 4

Patch Set 3 : Merge to head #

Patch Set 4 : Add a comment and remove a blank line #

Total comments: 10

Patch Set 5 : Remove extraneous namespace qualification #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -34 lines) Patch
M chrome/browser/chrome_browser_main_win.cc View 3 chunks +12 lines, -10 lines 0 comments Download
M chrome/utility/font_cache_handler_win.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M content/common/dwrite_font_platform_win.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/font_warmup_win.cc View 1 2 3 4 4 chunks +7 lines, -1 line 0 comments Download
M content/common/sandbox_win.cc View 1 2 3 4 1 chunk +17 lines, -15 lines 0 comments Download
M content/ppapi_plugin/ppapi_plugin_main.cc View 1 2 3 4 4 chunks +15 lines, -1 line 0 comments Download
M content/public/common/dwrite_font_platform_win.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/test/render_view_test.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M content/renderer/renderer_main_platform_delegate_win.cc View 1 2 3 4 6 chunks +16 lines, -3 lines 0 comments Download
M content/test/layouttest_support.cc View 1 2 3 4 3 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
Ilya Kulshin
ptal. Francois convinced me to do the switch via field trial rather than all at ...
4 years, 11 months ago (2015-12-29 21:45:56 UTC) #2
fdoray
https://codereview.chromium.org/1557513002/diff/1/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1557513002/diff/1/content/common/font_warmup_win.cc#newcode491 content/common/font_warmup_win.cc:491: if (content::ShouldUseDirectWriteFontProxyFieldTrial()) { // If the font cache is ...
4 years, 11 months ago (2015-12-30 01:15:08 UTC) #3
Ilya Kulshin
https://codereview.chromium.org/1557513002/diff/1/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1557513002/diff/1/content/common/font_warmup_win.cc#newcode491 content/common/font_warmup_win.cc:491: if (content::ShouldUseDirectWriteFontProxyFieldTrial()) { On 2015/12/30 01:15:08, fdoray wrote: > ...
4 years, 11 months ago (2015-12-30 01:59:47 UTC) #4
fdoray
lgtm with 2 comments https://codereview.chromium.org/1557513002/diff/20001/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1557513002/diff/20001/content/common/font_warmup_win.cc#newcode492 content/common/font_warmup_win.cc:492: g_warmup_fontmgr = SkFontMgr_New_DirectWrite(); Is this ...
4 years, 11 months ago (2015-12-31 03:18:16 UTC) #5
jam
which parts do you want me to review?
4 years, 11 months ago (2016-01-04 15:43:28 UTC) #6
Ilya Kulshin
jam@: fdoray@ reviewed this change, and ananta@ reviewed most of it as well in https://codereview.chromium.org/1432123002/, ...
4 years, 11 months ago (2016-01-08 00:44:23 UTC) #9
jam
lgtm https://codereview.chromium.org/1557513002/diff/100001/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1557513002/diff/100001/content/common/font_warmup_win.cc#newcode492 content/common/font_warmup_win.cc:492: if (content::ShouldUseDirectWriteFontProxyFieldTrial() && !g_warmup_fontmgr) nit: no content:: https://codereview.chromium.org/1557513002/diff/100001/content/common/sandbox_win.cc ...
4 years, 11 months ago (2016-01-11 05:05:46 UTC) #10
Ilya Kulshin
https://codereview.chromium.org/1557513002/diff/100001/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1557513002/diff/100001/content/common/font_warmup_win.cc#newcode492 content/common/font_warmup_win.cc:492: if (content::ShouldUseDirectWriteFontProxyFieldTrial() && !g_warmup_fontmgr) On 2016/01/11 05:05:45, jam wrote: ...
4 years, 11 months ago (2016-01-11 20:56:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557513002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557513002/120001
4 years, 11 months ago (2016-01-11 21:53:42 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/134271)
4 years, 11 months ago (2016-01-11 22:05:20 UTC) #16
jschuh
lgtm for sandbox_win.cc
4 years, 11 months ago (2016-01-12 00:04:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557513002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557513002/120001
4 years, 11 months ago (2016-01-12 00:23:05 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 11 months ago (2016-01-12 01:29:36 UTC) #20
commit-bot: I haz the power
4 years, 11 months ago (2016-01-12 01:31:07 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e186ab5f13cb800b27dd6996c177e9ae4048ae2b
Cr-Commit-Position: refs/heads/master@{#368758}

Powered by Google App Engine
This is Rietveld 408576698