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

Unified Diff: chrome/browser/chromeos/login/image_decoder.cc

Issue 6805008: Remove RDH from UtilityProcessHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix presubmit. Created 9 years, 8 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 | « chrome/browser/chromeos/login/image_decoder.h ('k') | chrome/browser/extensions/extension_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/image_decoder.cc
diff --git a/chrome/browser/chromeos/login/image_decoder.cc b/chrome/browser/chromeos/login/image_decoder.cc
index f7b17bd27a4d8be92a00abd8b9be7ab33480ed99..83bc3d84633c0e45441701a95e1f88d9287ea8b9 100644
--- a/chrome/browser/chromeos/login/image_decoder.cc
+++ b/chrome/browser/chromeos/login/image_decoder.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -25,7 +25,6 @@ void ImageDecoder::Start() {
BrowserThread::IO, FROM_HERE,
NewRunnableMethod(
this, &ImageDecoder::DecodeImageInSandbox,
- g_browser_process->resource_dispatcher_host(),
image_data_));
}
@@ -42,15 +41,12 @@ void ImageDecoder::OnDecodeImageFailed() {
}
void ImageDecoder::DecodeImageInSandbox(
- ResourceDispatcherHost* rdh,
const std::vector<unsigned char>& image_data) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
UtilityProcessHost* utility_process_host =
- new UtilityProcessHost(rdh,
- this,
+ new UtilityProcessHost(this,
target_thread_id_);
utility_process_host->StartImageDecoding(image_data);
}
} // namespace chromeos
-
« no previous file with comments | « chrome/browser/chromeos/login/image_decoder.h ('k') | chrome/browser/extensions/extension_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698