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

Unified Diff: ui/base/resource/resource_bundle.h

Issue 10970018: Update resource_bundle.h image function comment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_bundle.h
diff --git a/ui/base/resource/resource_bundle.h b/ui/base/resource/resource_bundle.h
index 840036df8c0e99b5d5ce0eed92651fcd2393b3e3..d24241a647592abfc5b7312ab3cff6c91dcfbe2e 100644
--- a/ui/base/resource/resource_bundle.h
+++ b/ui/base/resource/resource_bundle.h
@@ -177,8 +177,8 @@ class UI_EXPORT ResourceBundle {
// instance is owned by the resource bundle and should not be freed.
// TODO(pkotwicz): Make method return const gfx::ImageSkia*
//
- // NOTE: It is preferrable to use GetImageNamed such that code is more
- // portable.
+ // NOTE: GetImageNamed is preferred for cross-platform gfx::Image use,
Robert Sesek 2012/09/20 17:37:35 GetNativeImageNamed, per below.
sail 2012/09/20 17:40:04 I don't think this comment is correct. Unless you
+ // but GetImageSkiaNamed is preferred for Views-specific use.
gfx::ImageSkia* GetImageSkiaNamed(int resource_id);
// Gets an image resource from the current module data. This will load the
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698