aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFStream.h
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-02-20 12:45:50 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-20 12:45:50 -0800
commitc1b71d6c30041f01675dd54a77adc9c177afdf44 (patch)
tree07aa62538ebb2dc12be32c46c3247c4f20ca76dc /src/pdf/SkPDFStream.h
parentb2bed00ce143363d8192ae96fedf12a06a76b0f5 (diff)
PDF: remove unnecessary mutexes.
We now force all SkPDFObjects to stay on one thread. TBR=mtklein@google.com Review URL: https://codereview.chromium.org/942153002
Diffstat (limited to 'src/pdf/SkPDFStream.h')
-rw-r--r--src/pdf/SkPDFStream.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pdf/SkPDFStream.h b/src/pdf/SkPDFStream.h
index cf9316ff14..90c6bcacb6 100644
--- a/src/pdf/SkPDFStream.h
+++ b/src/pdf/SkPDFStream.h
@@ -39,8 +39,7 @@ public:
virtual ~SkPDFStream();
- // The SkPDFObject interface. This two method uses a mutex to
- // allow multiple threads to call at the same time.
+ // The SkPDFObject interface.
virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog) SK_OVERRIDE;
protected:
@@ -90,9 +89,6 @@ private:
// Indicates what form (or if) the stream has been requested.
State fState;
- // Mutex guards fState, fDataStream, and fSubstitute in public interface.
- SkMutex fMutex;
-
SkAutoTDelete<SkStreamRewindable> fDataStream;
SkAutoTUnref<SkPDFStream> fSubstitute;