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

Unified Diff: content/browser/download/save_package.cc

Issue 9071001: base::Bind: Remove ScopedRunnableMethodFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 8 years, 12 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 | « content/browser/download/save_package.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/save_package.cc
diff --git a/content/browser/download/save_package.cc b/content/browser/download/save_package.cc
index da2c8a9218704ff1bddcca7be6aa76f5835b29e0..3b58257e08ebc874f2372f1a8b9ad2cc379dbb4a 100644
--- a/content/browser/download/save_package.cc
+++ b/content/browser/download/save_package.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -134,8 +134,7 @@ SavePackage::SavePackage(TabContents* tab_contents,
all_save_items_count_(0),
wait_state_(INITIALIZE),
tab_id_(tab_contents->GetRenderProcessHost()->GetID()),
- unique_id_(g_save_package_id++),
- ALLOW_THIS_IN_INITIALIZER_LIST(method_factory_(this)) {
+ unique_id_(g_save_package_id++) {
DCHECK(page_url_.is_valid());
DCHECK(save_type_ == SAVE_AS_ONLY_HTML ||
save_type_ == SAVE_AS_COMPLETE_HTML);
@@ -161,8 +160,7 @@ SavePackage::SavePackage(TabContents* tab_contents)
all_save_items_count_(0),
wait_state_(INITIALIZE),
tab_id_(tab_contents->GetRenderProcessHost()->GetID()),
- unique_id_(g_save_package_id++),
- ALLOW_THIS_IN_INITIALIZER_LIST(method_factory_(this)) {
+ unique_id_(g_save_package_id++) {
DCHECK(page_url_.is_valid());
InternalInit();
}
@@ -187,8 +185,7 @@ SavePackage::SavePackage(TabContents* tab_contents,
all_save_items_count_(0),
wait_state_(INITIALIZE),
tab_id_(0),
- unique_id_(g_save_package_id++),
- ALLOW_THIS_IN_INITIALIZER_LIST(method_factory_(this)) {
+ unique_id_(g_save_package_id++) {
}
SavePackage::~SavePackage() {
« no previous file with comments | « content/browser/download/save_package.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698