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

Issue 360473005: Add lock to SkPDFDict (Closed)

Created:
6 years, 5 months ago by hal.canary
Modified:
6 years, 5 months ago
Reviewers:
mtklein, djsollen
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add lock to SkPDFDict Add mutex lock to all functions. Remove dictionary iterator, and replace with new thread-safe functions. BUG=skia:2683 Committed: https://skia.googlesource.com/skia/+/1f8ed022226c9f960b9fc95af9297d5111a07ead

Patch Set 1 #

Total comments: 14

Patch Set 2 : response to sunshine comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -59 lines) Patch
M src/pdf/SkPDFStream.h View 2 chunks +6 lines, -4 lines 0 comments Download
M src/pdf/SkPDFStream.cpp View 1 1 chunk +3 lines, -9 lines 0 comments Download
M src/pdf/SkPDFTypes.h View 1 2 chunks +17 lines, -15 lines 0 comments Download
M src/pdf/SkPDFTypes.cpp View 1 2 chunks +58 lines, -31 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
hal.canary
ptal
6 years, 5 months ago (2014-06-27 14:57:57 UTC) #1
mtklein
https://codereview.chromium.org/360473005/diff/1/src/pdf/SkPDFStream.cpp File src/pdf/SkPDFStream.cpp (right): https://codereview.chromium.org/360473005/diff/1/src/pdf/SkPDFStream.cpp#newcode39 src/pdf/SkPDFStream.cpp:39: this->insertDict(pdfStream); Can either of these become private methods of ...
6 years, 5 months ago (2014-06-27 15:26:52 UTC) #2
hal.canary
https://codereview.chromium.org/360473005/diff/1/src/pdf/SkPDFStream.cpp File src/pdf/SkPDFStream.cpp (right): https://codereview.chromium.org/360473005/diff/1/src/pdf/SkPDFStream.cpp#newcode39 src/pdf/SkPDFStream.cpp:39: this->insertDict(pdfStream); On 2014/06/27 15:26:51, mtklein wrote: > Can either ...
6 years, 5 months ago (2014-06-27 16:03:28 UTC) #3
mtklein
lgtm
6 years, 5 months ago (2014-06-27 17:12:57 UTC) #4
hal.canary
The CQ bit was checked by halcanary@google.com
6 years, 5 months ago (2014-06-27 17:22:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/halcanary@google.com/360473005/20001
6 years, 5 months ago (2014-06-27 17:22:34 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-06-27 17:37:31 UTC) #7
Message was sent while issue was closed.
Change committed as 1f8ed022226c9f960b9fc95af9297d5111a07ead

Powered by Google App Engine
This is Rietveld 408576698