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

Unified Diff: chrome/browser/ui/chrome_style.cc

Issue 11818044: Replace IDR_WEB_UI_CLOSE* with IDR_CLOSE_DIALOG*, cleanup, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/chrome_style.cc
diff --git a/chrome/browser/ui/chrome_style.cc b/chrome/browser/ui/chrome_style.cc
index c4bdf72a7840bbda5dadc4baaea0d217e3c99a61..f1a8adb590edf40fdf62885a65c2dd0175a16545 100644
--- a/chrome/browser/ui/chrome_style.cc
+++ b/chrome/browser/ui/chrome_style.cc
@@ -5,7 +5,7 @@
#include "chrome/browser/ui/chrome_style.h"
#include "chrome/browser/themes/theme_service.h"
-#include "grit/theme_resources.h"
+#include "grit/ui_resources.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/image/image.h"
@@ -14,7 +14,7 @@ namespace chrome_style {
int GetCloseButtonSize() {
ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance();
tfarina 2013/01/10 19:32:48 supernit: while here, you could change that to rb.
msw 2013/01/10 19:59:49 Done.
const SkBitmap* bitmap =
- bundle.GetNativeImageNamed(IDR_WEB_UI_CLOSE).ToSkBitmap();
+ bundle.GetNativeImageNamed(IDR_CLOSE_DIALOG).ToSkBitmap();
DCHECK_EQ(bitmap->width(), bitmap->height());
return bitmap->width();
}

Powered by Google App Engine
This is Rietveld 408576698