|
Have ResourceBundle own GdkPixbufs.
This is the same as how ResourceBundle owns the SkBitmaps it loads.
This should be faster than before because ResourceBundle will only
load each bitmap once and cache the image.
Also fix a memory leak in GdkPixbufFromSkBitmap.
valgrind says we're not leaking here.
BUG= 9988
Total comments: 8
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+181 lines, -123 lines) |
Patch |
 |
M |
base/gfx/gtk_util.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/bookmark_bar_gtk.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/bookmark_bar_gtk.cc
|
View
|
1
2
|
4 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/browser_toolbar_gtk.cc
|
View
|
|
2 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/custom_button.cc
|
View
|
|
1 chunk |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/download_item_gtk.cc
|
View
|
|
1 chunk |
+36 lines, -36 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/download_shelf_gtk.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/gtk_chrome_button.cc
|
View
|
|
1 chunk |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/infobar_gtk.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/nine_box.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/common/resource_bundle.h
|
View
|
|
4 chunks |
+17 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/common/resource_bundle_linux.cc
|
View
|
1
2
3
|
3 chunks |
+83 lines, -18 lines |
1 comment
|
Download
|
Total messages: 4 (0 generated)
|