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

Issue 1615723003: Fix an assert failure in CXFA_DefFontMgr::GetDefaultFont() (Closed)

Created:
4 years, 11 months ago by jun_fang
Modified:
4 years, 10 months ago
Reviewers:
Tom Sepez, Lei Zhang, raymes
CC:
chromium-reviews, Jim Wang, kai_jing
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix an assert failure in CXFA_DefFontMgr::GetDefaultFont() Font information (like size) is needed to perform layout in the process of loading XFA documents. It was too late to set g_last_instance_id so that XFA didn't get a font by calling FontMap(). BUG=pdfium:349 Committed: https://crrev.com/1a4c0307e48e24aa1c36b990976e66b0c514dfd9 Cr-Commit-Position: refs/heads/master@{#372196}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M pdf/pdfium/pdfium_engine.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (14 generated)
Tom Sepez
On 2016/01/21 16:50:59, Tom Sepez wrote: > mailto:tsepez@chromium.org changed reviewers: > + mailto:raymes@chromium.org +raymes instead ...
4 years, 11 months ago (2016-01-21 16:51:34 UTC) #4
Tom Sepez
https://codereview.chromium.org/1615723003/diff/1/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc (right): https://codereview.chromium.org/1615723003/diff/1/pdf/pdfium/pdfium_engine.cc#newcode611 pdf/pdfium/pdfium_engine.cc:611: g_last_instance_id = client_->GetPluginInstance()->pp_instance(); Why is this linux only?
4 years, 11 months ago (2016-01-21 16:51:55 UTC) #5
jun_fang
On 2016/01/21 16:51:55, Tom Sepez wrote: > https://codereview.chromium.org/1615723003/diff/1/pdf/pdfium/pdfium_engine.cc > File pdf/pdfium/pdfium_engine.cc (right): > > https://codereview.chromium.org/1615723003/diff/1/pdf/pdfium/pdfium_engine.cc#newcode611 ...
4 years, 11 months ago (2016-01-22 00:16:25 UTC) #6
raymes
This seems ok. lgtm
4 years, 11 months ago (2016-01-22 01:40:59 UTC) #7
Tom Sepez
lgtm
4 years, 11 months ago (2016-01-22 02:09:52 UTC) #8
jun_fang
On 2016/01/22 02:09:52, Tom Sepez wrote: > lgtm When I tried to land this patch, ...
4 years, 11 months ago (2016-01-22 03:03:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1615723003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1615723003/1
4 years, 11 months ago (2016-01-22 17:00:20 UTC) #11
commit-bot: I haz the power
The author jun_fang@foxitsoftware.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
4 years, 11 months ago (2016-01-22 17:00:22 UTC) #13
Tom Sepez
The best way to land changes to chromium itself is to check the "commit" box ...
4 years, 11 months ago (2016-01-22 17:02:13 UTC) #14
Tom Sepez
Bleh. You should be covered by the FX agreement, lemme check.
4 years, 11 months ago (2016-01-22 17:04:59 UTC) #15
jun_fang
On 2016/01/22 17:04:59, Tom Sepez wrote: > Bleh. You should be covered by the FX ...
4 years, 11 months ago (2016-01-24 12:52:47 UTC) #16
jun_fang
On 2016/01/24 12:52:47, jun_fang wrote: > On 2016/01/22 17:04:59, Tom Sepez wrote: > > Bleh. ...
4 years, 11 months ago (2016-01-26 11:57:50 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1615723003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1615723003/20001
4 years, 11 months ago (2016-01-26 22:22:30 UTC) #22
Lei Zhang
On 2016/01/26 11:57:50, jun_fang wrote: > On 2016/01/24 12:52:47, jun_fang wrote: > > On 2016/01/22 ...
4 years, 11 months ago (2016-01-26 22:29:08 UTC) #23
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/139243)
4 years, 11 months ago (2016-01-26 22:36:43 UTC) #25
Lei Zhang
On 2016/01/26 22:29:08, Lei Zhang wrote: > You need to add yourself to the AUTHORS ...
4 years, 10 months ago (2016-01-28 21:47:25 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1615723003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1615723003/20001
4 years, 10 months ago (2016-01-28 21:48:37 UTC) #28
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-01-28 22:49:02 UTC) #30
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 22:50:36 UTC) #32
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1a4c0307e48e24aa1c36b990976e66b0c514dfd9
Cr-Commit-Position: refs/heads/master@{#372196}

Powered by Google App Engine
This is Rietveld 408576698