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

Unified Diff: third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h

Issue 2134323002: Remove threading primitives from ParseHTMLOnMainThread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on 405128 Created 4 years, 5 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
Index: third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h
diff --git a/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h b/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h
index b28e324bed4a1a07b416b2ce95dcec5464f55fc7..bfa964b1ddc741938f37ec51684e7df6e3ba02b3 100644
--- a/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h
+++ b/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h
@@ -42,7 +42,7 @@ public:
private:
ParsedChunkQueue();
- Mutex m_mutex;
+ std::unique_ptr<Mutex> m_mutex;
Vector<std::unique_ptr<HTMLDocumentParser::ParsedChunk>> m_pendingChunks;
size_t m_peakPendingChunkCount = 0;
size_t m_peakPendingTokenCount = 0;

Powered by Google App Engine
This is Rietveld 408576698