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

Unified Diff: net/base/file_stream_context_win.cc

Issue 1210013007: clang/win: Fix warnings to prepare for building without -Wno-reorder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clang-unsequenced
Patch Set: Created 5 years, 6 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 | « media/video/capture/win/sink_input_pin_win.cc ('k') | net/base/network_change_notifier_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/file_stream_context_win.cc
diff --git a/net/base/file_stream_context_win.cc b/net/base/file_stream_context_win.cc
index b71d9a6b957ba2a2781e3fd493f9982605f868e3..907d863b8e4eb7296180a328cd64b2a9dd3c068c 100644
--- a/net/base/file_stream_context_win.cc
+++ b/net/base/file_stream_context_win.cc
@@ -36,10 +36,10 @@ void IncrementOffset(OVERLAPPED* overlapped, DWORD count) {
} // namespace
FileStream::Context::Context(const scoped_refptr<base::TaskRunner>& task_runner)
- : io_context_(),
- async_in_progress_(false),
+ : async_in_progress_(false),
orphaned_(false),
task_runner_(task_runner),
+ io_context_(),
async_read_initiated_(false),
async_read_completed_(false),
io_complete_for_read_received_(false),
@@ -50,11 +50,11 @@ FileStream::Context::Context(const scoped_refptr<base::TaskRunner>& task_runner)
FileStream::Context::Context(base::File file,
const scoped_refptr<base::TaskRunner>& task_runner)
- : io_context_(),
- file_(file.Pass()),
+ : file_(file.Pass()),
async_in_progress_(false),
orphaned_(false),
task_runner_(task_runner),
+ io_context_(),
async_read_initiated_(false),
async_read_completed_(false),
io_complete_for_read_received_(false),
« no previous file with comments | « media/video/capture/win/sink_input_pin_win.cc ('k') | net/base/network_change_notifier_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698