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

Issue 854773002: Fix font loading in OOP PDF (Closed)

Created:
5 years, 11 months ago by scottmg
Modified:
5 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix font loading in OOP PDF This does two things - avoids pdf.dll being loaded into the renderer when OOP PDF is being used (this was caused by the patching) - does the patch in PpapiThread when pdf.dll is loaded there for OOP The IAT patch to GetFontData allows various users of GDI font methods to succeed when sandboxed. R=cpu@chromium.org,raymes@chromium.org,ananta@chromium.org BUG=448473 Committed: https://crrev.com/55a856eb124f941c191c62dab40055b827186395 Cr-Commit-Position: refs/heads/master@{#311730}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : add comment #

Patch Set 4 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -8 lines) Patch
M chrome/renderer/chrome_render_process_observer.cc View 1 2 1 chunk +12 lines, -8 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 3 chunks +58 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (7 generated)
scottmg
5 years, 11 months ago (2015-01-15 02:25:52 UTC) #1
ananta
Looks good. https://codereview.chromium.org/854773002/diff/20001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/854773002/diff/20001/content/ppapi_plugin/ppapi_thread.cc#newcode98 content/ppapi_plugin/ppapi_thread.cc:98: // renderer once PDF is always OOP ...
5 years, 11 months ago (2015-01-15 02:31:22 UTC) #2
scottmg
https://codereview.chromium.org/854773002/diff/20001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/854773002/diff/20001/content/ppapi_plugin/ppapi_thread.cc#newcode98 content/ppapi_plugin/ppapi_thread.cc:98: // renderer once PDF is always OOP and/or PDF ...
5 years, 11 months ago (2015-01-15 02:35:38 UTC) #3
raymes
Thanks Scott!! I defer to the others - the only part I understand is the ...
5 years, 11 months ago (2015-01-15 03:08:01 UTC) #4
scottmg
On 2015/01/15 03:08:01, raymes wrote: > Thanks Scott!! > > I defer to the others ...
5 years, 11 months ago (2015-01-15 03:40:10 UTC) #5
cpu_(ooo_6.6-7.5)
lgtm
5 years, 11 months ago (2015-01-15 03:41:28 UTC) #6
raymes
We're serializing access into the pepper API as a whole. This stuff was added so ...
5 years, 11 months ago (2015-01-15 03:44:19 UTC) #7
scottmg
On 2015/01/15 03:44:19, raymes wrote: > We're serializing access into the pepper API as a ...
5 years, 11 months ago (2015-01-15 04:04:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/854773002/60001
5 years, 11 months ago (2015-01-15 04:05:07 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/37814)
5 years, 11 months ago (2015-01-15 04:37:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/854773002/60001
5 years, 11 months ago (2015-01-15 04:41:11 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/37830)
5 years, 11 months ago (2015-01-15 05:09:54 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/854773002/60001
5 years, 11 months ago (2015-01-15 17:02:14 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/37849)
5 years, 11 months ago (2015-01-15 17:02:46 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/854773002/60001
5 years, 11 months ago (2015-01-15 20:59:43 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 11 months ago (2015-01-15 21:01:16 UTC) #23
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/55a856eb124f941c191c62dab40055b827186395 Cr-Commit-Position: refs/heads/master@{#311730}
5 years, 11 months ago (2015-01-15 21:02:30 UTC) #24
jam
belated comment: this is a layering violation, since PDF is a chrome thing and doesn't ...
5 years, 10 months ago (2015-02-02 20:51:39 UTC) #25
scottmg
5 years, 10 months ago (2015-02-02 20:55:21 UTC) #26
Message was sent while issue was closed.
On 2015/02/02 20:51:39, jam wrote:
> belated comment: this is a layering violation, since PDF is a chrome thing and
> doesn't below in chrome. i'll fix this in a followup

Oops, sorry. You mean content shouldn't know about PDF, right?

Powered by Google App Engine
This is Rietveld 408576698