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

Unified Diff: content/common/cursors/webcursor_aurawin.cc

Issue 1406403007: Eliminate HICON leaks caused by creating icons from bitmap image. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years 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
« no previous file with comments | « content/browser/renderer_host/pepper/pepper_truetype_font_win.cc ('k') | printing/emf_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cursors/webcursor_aurawin.cc
diff --git a/content/common/cursors/webcursor_aurawin.cc b/content/common/cursors/webcursor_aurawin.cc
index 03509b87828716d58e1612dd978f22ae359695c0..b8b4c575c28965afe770f1137fbc917da3033dc3 100644
--- a/content/common/cursors/webcursor_aurawin.cc
+++ b/content/common/cursors/webcursor_aurawin.cc
@@ -30,7 +30,8 @@ ui::PlatformCursor WebCursor::GetPlatformCursor() {
custom_size,
hotspot,
!custom_data.empty() ? &custom_data[0] : NULL,
- custom_data.size());
+ custom_data.size())
+ .release();
return custom_cursor_;
}
« no previous file with comments | « content/browser/renderer_host/pepper/pepper_truetype_font_win.cc ('k') | printing/emf_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698