diff options
| author | rahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-21 17:01:42 +0000 |
|---|---|---|
| committer | rahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-21 17:01:42 +0000 |
| commit | 0d9b46841a609c598ca8ded416e2adfca2be9d48 (patch) | |
| tree | 4211bf9c20894b06a965ea8bfdb3a9a009cba80d /chrome/common | |
| parent | e4f2d631670f61c442fca79ce08050a90fb35505 (diff) | |
| download | chromium_src-0d9b46841a609c598ca8ded416e2adfca2be9d48.zip chromium_src-0d9b46841a609c598ca8ded416e2adfca2be9d48.tar.gz chromium_src-0d9b46841a609c598ca8ded416e2adfca2be9d48.tar.bz2 | |
Do not display "Google" in titlebar of Chromium builds.
- Create a new resource file that will contain Google Chrome specific resources. Ideally this new resource file should not be in the Chromium project at all but there doesnt seem to be any way to do conditional includes in vcproj files. So we ifdef its contents.
- Make distributor logo optional. If we do not find it, we do not try to paint/layout logo.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1158 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
| -rw-r--r-- | chrome/common/resource_bundle.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/common/resource_bundle.cc b/chrome/common/resource_bundle.cc index 3beccb4..09dbf19 100644 --- a/chrome/common/resource_bundle.cc +++ b/chrome/common/resource_bundle.cc @@ -195,13 +195,8 @@ SkBitmap* ResourceBundle::GetBitmapNamed(int resource_id) { // Handle the case where loading the bitmap failed. if (!bitmap) { LOG(WARNING) << "Unable to load bitmap with id " << resource_id; - NOTREACHED(); // Want to assert in debug mode. if (!empty_bitmap) { - // The placeholder bitmap is bright red so people notice the problem. empty_bitmap = new SkBitmap(); - empty_bitmap->setConfig(SkBitmap::kARGB_8888_Config, 32, 32); - empty_bitmap->allocPixels(); - empty_bitmap->eraseARGB(255, 255, 0, 0); } return empty_bitmap; } |
