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

Unified Diff: chrome/browser/browser_theme_provider.cc

Issue 159903: Quick 'low-risk-for-the-next-release' fix to increase theme install/load perf... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 4 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: chrome/browser/browser_theme_provider.cc
===================================================================
--- chrome/browser/browser_theme_provider.cc (revision 22457)
+++ chrome/browser/browser_theme_provider.cc (working copy)
@@ -819,7 +819,7 @@
std::map<int, SkBitmap*>::iterator it = image_cache_.find(base_id);
if (it != image_cache_.end()) {
SkBitmap* frame = it->second;
- int blur_amount = (HasCustomImage(id)) ? 1 : 5;
+ int blur_amount = (HasCustomImage(id)) ? 1 : 2;
SkBitmap blurred =
skia::ImageOperations::CreateBlurredBitmap(*frame, blur_amount);
SkBitmap* bg_tab = new SkBitmap(TintBitmap(blurred, TINT_BACKGROUND_TAB));
« 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