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

Unified Diff: chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc

Issue 578533002: Removing remaining CrOS implicit conversions from scoped_refptr to T* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc b/chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc
index 03949a68e1b70dc08ccb2220a93535e0950971b4..0417c6050913cb7000968e2f38667dd93b5a3608 100644
--- a/chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc
+++ b/chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc
@@ -39,7 +39,7 @@ void ScreenlockIconSource::StartDataRequest(
int render_frame_id,
const content::URLDataSource::GotDataCallback& callback) {
if (!icon_provider_) {
- callback.Run(GetDefaultIcon().As1xPNGBytes());
+ callback.Run(GetDefaultIcon().As1xPNGBytes().get());
return;
}
@@ -50,7 +50,7 @@ void ScreenlockIconSource::StartDataRequest(
gfx::Image image = icon_provider_->GetIcon(username);
if (image.IsEmpty()) {
- callback.Run(GetDefaultIcon().As1xPNGBytes());
+ callback.Run(GetDefaultIcon().As1xPNGBytes().get());
return;
}
« no previous file with comments | « chrome/browser/chromeos/fileapi/file_system_backend.cc ('k') | chromeos/dbus/blocking_method_caller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698