| Index: net/disk_cache/blockfile/in_flight_io.h
|
| diff --git a/net/disk_cache/blockfile/in_flight_io.h b/net/disk_cache/blockfile/in_flight_io.h
|
| index 78b6f4d444f47745bcc481bc4e5c4591e3e68eed..05afe567e037d2c59e177585120313f7de542b77 100644
|
| --- a/net/disk_cache/blockfile/in_flight_io.h
|
| +++ b/net/disk_cache/blockfile/in_flight_io.h
|
| @@ -41,9 +41,7 @@ class BackgroundIO : public base::RefCountedThreadSafe<BackgroundIO> {
|
|
|
| int result() { return result_; }
|
|
|
| - base::WaitableEvent* io_completed() {
|
| - return &io_completed_;
|
| - }
|
| + base::WaitableEvent* io_completed() { return &io_completed_; }
|
|
|
| protected:
|
| virtual ~BackgroundIO();
|
| @@ -59,7 +57,7 @@ class BackgroundIO : public base::RefCountedThreadSafe<BackgroundIO> {
|
|
|
| // An event to signal when the operation completes.
|
| base::WaitableEvent io_completed_;
|
| - InFlightIO* controller_; // The controller that tracks all operations.
|
| + InFlightIO* controller_; // The controller that tracks all operations.
|
| base::Lock controller_lock_; // A lock protecting clearing of controller_.
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BackgroundIO);
|
| @@ -125,7 +123,7 @@ class InFlightIO {
|
| IOList io_list_; // List of pending, in-flight io operations.
|
| scoped_refptr<base::MessageLoopProxy> callback_thread_;
|
|
|
| - bool running_; // True after the first posted operation completes.
|
| + bool running_; // True after the first posted operation completes.
|
| bool single_thread_; // True if we only have one thread.
|
|
|
| DISALLOW_COPY_AND_ASSIGN(InFlightIO);
|
|
|