Index: chrome/browser/themes/theme_service.h |
diff --git a/chrome/browser/themes/theme_service.h b/chrome/browser/themes/theme_service.h |
index 4b8a3ca4edf4fc67ff6d0b6b132342e9e60b7eef..861164ce2ba1c8ae080c7987a421f1106f153faf 100644 |
--- a/chrome/browser/themes/theme_service.h |
+++ b/chrome/browser/themes/theme_service.h |
@@ -147,7 +147,7 @@ class ThemeService : public base::NonThreadSafe, |
virtual bool ShouldUseNativeFrame() const; |
virtual bool HasCustomImage(int id) const; |
virtual RefCountedMemory* GetRawData(int id) const; |
-#if defined(TOOLKIT_USES_GTK) |
+#if defined(TOOLKIT_USES_GTK) && !defined(USE_AURA) |
// GdkPixbufs returned by GetPixbufNamed and GetRTLEnabledPixbufNamed are |
// shared instances owned by the theme provider and should not be freed. |
virtual GdkPixbuf* GetPixbufNamed(int id) const; |