diff options
Diffstat (limited to 'chrome/browser/dom_ui/downloads_ui.cc')
-rw-r--r-- | chrome/browser/dom_ui/downloads_ui.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/dom_ui/downloads_ui.cc b/chrome/browser/dom_ui/downloads_ui.cc index 0a10bf3..a7ae595 100644 --- a/chrome/browser/dom_ui/downloads_ui.cc +++ b/chrome/browser/dom_ui/downloads_ui.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -121,8 +121,7 @@ void DownloadsUIHTMLSource::StartDataRequest(const std::string& path, /////////////////////////////////////////////////////////////////////////////// DownloadsUI::DownloadsUI(TabContents* contents) : DOMUI(contents) { - DownloadManager* dlm = GetProfile()->GetOriginalProfile()-> - GetDownloadManager(); + DownloadManager* dlm = GetProfile()->GetDownloadManager(); DownloadsDOMHandler* handler = new DownloadsDOMHandler(dlm); AddMessageHandler(handler); |