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

Unified Diff: sandbox/win/src/win2k_threadpool.cc

Issue 1106203002: sandbox/win: Fix warnings found by clang chromium-style plugin on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « sandbox/win/src/win2k_threadpool.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/win2k_threadpool.cc
diff --git a/sandbox/win/src/win2k_threadpool.cc b/sandbox/win/src/win2k_threadpool.cc
index 24cbacf2b467a13069ecb57338ecf32d037917b3..051cfc1c89d23f626e703ff863430e1397a93156 100644
--- a/sandbox/win/src/win2k_threadpool.cc
+++ b/sandbox/win/src/win2k_threadpool.cc
@@ -8,6 +8,10 @@
namespace sandbox {
+Win2kThreadPool::Win2kThreadPool() {
+ ::InitializeCriticalSection(&lock_);
+}
+
bool Win2kThreadPool::RegisterWait(const void* cookie, HANDLE waitable_object,
CrossCallIPCCallback callback,
void* context) {
« no previous file with comments | « sandbox/win/src/win2k_threadpool.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698