diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-05 23:40:01 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-05 23:40:01 +0000 |
commit | a1e222426604f014562f34131f544e2e6cf4ddb3 (patch) | |
tree | efa4fcd9bb0bf18033a9a8015b3252f9727eb409 /chrome/browser/browser_theme_provider.h | |
parent | 5dc49e45a85067fa5410cee7ffcadf5eeacd97db (diff) | |
download | chromium_src-a1e222426604f014562f34131f544e2e6cf4ddb3.zip chromium_src-a1e222426604f014562f34131f544e2e6cf4ddb3.tar.gz chromium_src-a1e222426604f014562f34131f544e2e6cf4ddb3.tar.bz2 |
GTK: Refactor some things so GTK doesn't touch the on disk image cache.
Hopefully will solve crash.
BUG=23588
Review URL: http://codereview.chromium.org/258020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28066 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_theme_provider.h')
-rw-r--r-- | chrome/browser/browser_theme_provider.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/browser_theme_provider.h b/chrome/browser/browser_theme_provider.h index d6c20b6..0d3524b 100644 --- a/chrome/browser/browser_theme_provider.h +++ b/chrome/browser/browser_theme_provider.h @@ -261,6 +261,11 @@ class BrowserThemeProvider : public NonThreadSafe, // from ClearCaches(). virtual void FreePlatformCaches(); + // The implementation of GenerateTabBackgroundBitmap(). That function also + // must be locked and touches caches; this function only deals with image + // generation. + SkBitmap* GenerateTabBackgroundBitmapImpl(int id); + Profile* profile() { return profile_; } // Subclasses may need us to not use the on-disk image cache. The GTK |