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

Issue 107963003: Fix threading issue in DirectWrite port initialization. (Closed)

Created:
7 years ago by bungeman-skia
Modified:
7 years ago
Reviewers:
caryclark
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fix threading issue in DirectWrite port initialization. The DirectWrite port maintains a global instance of an IDWriteFactory, which is used to create all other DirectWrite objects. However, the initialization of this object is not currently thread safe. R=caryclark@google.com Committed: https://code.google.com/p/skia/source/detail?r=12573

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -43 lines) Patch
M src/ports/SkFontHost_win_dw.cpp View 1 10 chunks +48 lines, -43 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
bungeman-skia
Note that this changed the return type of get_dwrite_factory, so the call sites are updated. ...
7 years ago (2013-12-09 18:08:34 UTC) #1
caryclark
lgtm -- no need to fix formatting nits https://codereview.chromium.org/107963003/diff/1/src/ports/SkFontHost_win_dw.cpp File src/ports/SkFontHost_win_dw.cpp (right): https://codereview.chromium.org/107963003/diff/1/src/ports/SkFontHost_win_dw.cpp#newcode86 src/ports/SkFontHost_win_dw.cpp:86: ; ...
7 years ago (2013-12-09 18:45:50 UTC) #2
bungeman-skia
https://codereview.chromium.org/107963003/diff/1/src/ports/SkFontHost_win_dw.cpp File src/ports/SkFontHost_win_dw.cpp (right): https://codereview.chromium.org/107963003/diff/1/src/ports/SkFontHost_win_dw.cpp#newcode86 src/ports/SkFontHost_win_dw.cpp:86: ; On 2013/12/09 18:45:50, caryclark wrote: > I know ...
7 years ago (2013-12-09 18:57:51 UTC) #3
bungeman-skia
7 years ago (2013-12-09 18:58:33 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r12573 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698