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

Unified Diff: app/resource_bundle_mac.mm

Issue 348033: Remove themes/default.dll and merge the resources into chrome.dll. (Closed)
Patch Set: update comments Created 11 years, 1 month 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 | « app/resource_bundle_linux.cc ('k') | app/resource_bundle_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/resource_bundle_mac.mm
diff --git a/app/resource_bundle_mac.mm b/app/resource_bundle_mac.mm
index 7a6139f7d5256e50b4b40c9f708fbbc780e7007b..547c84be778de7a8e27eb22ad7842843908fb7eb 100644
--- a/app/resource_bundle_mac.mm
+++ b/app/resource_bundle_mac.mm
@@ -26,7 +26,6 @@ ResourceBundle::~ResourceBundle() {
locale_resources_data_ = NULL;
delete resources_data_;
resources_data_ = NULL;
- theme_data_ = NULL;
}
namespace {
@@ -64,13 +63,6 @@ void ResourceBundle::LoadResources(const std::wstring& pref_locale) {
DCHECK(locale_resources_data_) << "failed to load locale.pak";
}
-void ResourceBundle::LoadThemeResources() {
- // The data has been merged with chrome.pak so just set the pointer to be
- // the same file.
- DCHECK(resources_data_);
- theme_data_ = resources_data_;
-}
-
// static
RefCountedStaticMemory* ResourceBundle::LoadResourceBytes(
DataHandle module, int resource_id) {
« no previous file with comments | « app/resource_bundle_linux.cc ('k') | app/resource_bundle_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698