Index: content/browser/download/download_browsertest.cc |
diff --git a/content/browser/download/download_browsertest.cc b/content/browser/download/download_browsertest.cc |
index a011fc90015f726b9dec4c7689bf01465ceb1f26..9ba699bc8f6cc9f6a4efa9e8c301c668539910f4 100644 |
--- a/content/browser/download/download_browsertest.cc |
+++ b/content/browser/download/download_browsertest.cc |
@@ -173,9 +173,9 @@ class DownloadFileWithDelayFactory : public DownloadFileFactory { |
void WaitForSomeCallback(); |
private: |
- base::WeakPtrFactory<DownloadFileWithDelayFactory> weak_ptr_factory_; |
std::vector<base::Closure> rename_callbacks_; |
bool waiting_; |
+ base::WeakPtrFactory<DownloadFileWithDelayFactory> weak_ptr_factory_; |
DISALLOW_COPY_AND_ASSIGN(DownloadFileWithDelayFactory); |
}; |
@@ -228,8 +228,9 @@ void DownloadFileWithDelay::RenameCallbackWrapper( |
} |
DownloadFileWithDelayFactory::DownloadFileWithDelayFactory() |
- : weak_ptr_factory_(this), |
- waiting_(false) {} |
+ : waiting_(false), |
+ weak_ptr_factory_(this) {} |
+ |
DownloadFileWithDelayFactory::~DownloadFileWithDelayFactory() {} |
DownloadFile* DownloadFileWithDelayFactory::CreateFile( |