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

Issue 9950141: Mac: OOP font loading should run on FILE thread. (Closed)

Created:
8 years, 8 months ago by bashi
Modified:
8 years, 8 months ago
Reviewers:
brettw, jeremy
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Mac: OOP font loading should run on FILE thread. FontLoader calls file_util::GetFileSize() and file_util::ReadFile(), which should be called from the file thread, but FontLoader runs on the io thread now. Make it run on the file thread. BUG=108645 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=131324

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : Addressed comments. #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : Fix unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -68 lines) Patch
M content/browser/renderer_host/render_message_filter.h View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 3 chunks +23 lines, -20 lines 0 comments Download
M content/common/mac/font_loader.h View 1 2 3 2 chunks +20 lines, -11 lines 0 comments Download
M content/common/mac/font_loader.mm View 1 2 3 5 chunks +23 lines, -24 lines 0 comments Download
M content/common/sandbox_mac_fontloading_unittest.mm View 1 2 3 4 2 chunks +8 lines, -8 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
bashi
(brettw@: OWNERS review, feel free to add/remove OWNERS reviewers) Hi Jeremy, Could you take a ...
8 years, 8 months ago (2012-04-04 04:28:56 UTC) #1
jeremy
http://chromiumcodereview.appspot.com/9950141/diff/1006/content/browser/renderer_host/render_message_filter.h File content/browser/renderer_host/render_message_filter.h (right): http://chromiumcodereview.appspot.com/9950141/diff/1006/content/browser/renderer_host/render_message_filter.h#newcode137 content/browser/renderer_host/render_message_filter.h:137: #if defined(OS_MACOSX) Can you add a comment here: // ...
8 years, 8 months ago (2012-04-04 08:35:37 UTC) #2
bashi
Thank you for review! http://chromiumcodereview.appspot.com/9950141/diff/1006/content/browser/renderer_host/render_message_filter.h File content/browser/renderer_host/render_message_filter.h (right): http://chromiumcodereview.appspot.com/9950141/diff/1006/content/browser/renderer_host/render_message_filter.h#newcode137 content/browser/renderer_host/render_message_filter.h:137: #if defined(OS_MACOSX) On 2012/04/04 08:35:38, ...
8 years, 8 months ago (2012-04-04 09:36:22 UTC) #3
brettw
content LGTM rubberstamp
8 years, 8 months ago (2012-04-04 21:42:17 UTC) #4
jeremy
http://chromiumcodereview.appspot.com/9950141/diff/7001/content/common/mac/font_loader.h File content/common/mac/font_loader.h (right): http://chromiumcodereview.appspot.com/9950141/diff/7001/content/common/mac/font_loader.h#newcode32 content/common/mac/font_loader.h:32: // task which sends the result to renderers. nit: ...
8 years, 8 months ago (2012-04-05 10:36:50 UTC) #5
bashi
http://chromiumcodereview.appspot.com/9950141/diff/7001/content/common/mac/font_loader.h File content/common/mac/font_loader.h (right): http://chromiumcodereview.appspot.com/9950141/diff/7001/content/common/mac/font_loader.h#newcode32 content/common/mac/font_loader.h:32: // task which sends the result to renderers. On ...
8 years, 8 months ago (2012-04-05 10:49:46 UTC) #6
jeremy
LGTM
8 years, 8 months ago (2012-04-06 05:07:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bashi@chromium.org/9950141/12001
8 years, 8 months ago (2012-04-06 05:09:46 UTC) #8
commit-bot: I haz the power
Try job failure for 9950141-12001 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-06 06:26:56 UTC) #9
bashi
I should have revised the unit test too. jeremy@, could you take another look?
8 years, 8 months ago (2012-04-06 07:30:31 UTC) #10
jeremy
Still LGTM
8 years, 8 months ago (2012-04-07 10:12:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bashi@chromium.org/9950141/12002
8 years, 8 months ago (2012-04-08 23:58:04 UTC) #12
commit-bot: I haz the power
8 years, 8 months ago (2012-04-09 02:41:16 UTC) #13
Change committed as 131324

Powered by Google App Engine
This is Rietveld 408576698