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

Unified Diff: src/pdf/SkPDFStream.h

Issue 942153002: PDF: remove unnecessary mutexes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pdf/SkPDFShader.cpp ('k') | src/pdf/SkPDFStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFStream.h
diff --git a/src/pdf/SkPDFStream.h b/src/pdf/SkPDFStream.h
index cf9316ff1446d7af0288e844a6452fe68c90d3d5..90c6bcacb6aff97fdf1f502c78a633aaeaecb556 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;
« no previous file with comments | « src/pdf/SkPDFShader.cpp ('k') | src/pdf/SkPDFStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698