summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_theme_provider.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-10 01:12:19 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-10 01:12:19 +0000
commit6230e20618e551669580a27cb9e2cd1af7f83d46 (patch)
treea1ce6bcef9a5421cf3c98a19038bfff88e306095 /chrome/browser/browser_theme_provider.h
parent20515f1cf7b19b471740bd98fb7b9818f327cd8c (diff)
downloadchromium_src-6230e20618e551669580a27cb9e2cd1af7f83d46.zip
chromium_src-6230e20618e551669580a27cb9e2cd1af7f83d46.tar.gz
chromium_src-6230e20618e551669580a27cb9e2cd1af7f83d46.tar.bz2
Revert "Upload GdkPixbufs into cairo surfaces so they (hopefully) live on the X
server and have better performance. In the presence of XRender, let cairo do things smarter." Valgrind problems. This reverts commit 03871714c3e5b39ee0f8369ecc2313c02fe0ca08 (r25814). Review URL: http://codereview.chromium.org/200071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25828 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_theme_provider.h')
-rw-r--r--chrome/browser/browser_theme_provider.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/browser_theme_provider.h b/chrome/browser/browser_theme_provider.h
index 7532f97..0053ef2 100644
--- a/chrome/browser/browser_theme_provider.h
+++ b/chrome/browser/browser_theme_provider.h
@@ -242,10 +242,6 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>,
// Save the modified bitmap at image_cache_[id].
virtual void SaveThemeBitmap(const std::string resource_name, int id);
- // Clears the platform-specific caches. Do not call directly; it's called
- // from ClearCaches().
- virtual void FreePlatformCaches();
-
Profile* profile() { return profile_; }
// Subclasses may need us to not use the on-disk image cache. The GTK
@@ -316,6 +312,10 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>,
// Frees generated images and clears the image cache.
void ClearCaches();
+ // Clears the platform-specific caches. Do not call directly; it's called
+ // from ClearCaches().
+ void FreePlatformCaches();
+
// Encode image at image_cache_[id] as PNG and write to disk.
bool WriteImagesToDisk();