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

Unified Diff: chrome/browser/gtk/nine_box.cc

Issue 67179: Have ResourceBundle own GdkPixbufs. (Closed)
Patch Set: null Created 11 years, 8 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
Index: chrome/browser/gtk/nine_box.cc
diff --git a/chrome/browser/gtk/nine_box.cc b/chrome/browser/gtk/nine_box.cc
index e2c42f6598ea1daee669b72c40a77fec2f5f0369..c1147c713e478f7f09e6aa2976b70c655146e2f7 100644
--- a/chrome/browser/gtk/nine_box.cc
+++ b/chrome/browser/gtk/nine_box.cc
@@ -38,10 +38,6 @@ NineBox::NineBox(GdkPixbuf* images[9]) {
}
NineBox::~NineBox() {
- for (int i = 0; i < 9; ++i) {
- if (images_[i])
- gdk_pixbuf_unref(images_[i]);
- }
}
void NineBox::RenderToWidget(GtkWidget* dst) {

Powered by Google App Engine
This is Rietveld 408576698