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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_views.cc

Issue 8411002: Fix a smart pointer leak. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_widget_host_view_views.cc
diff --git a/chrome/browser/renderer_host/render_widget_host_view_views.cc b/chrome/browser/renderer_host/render_widget_host_view_views.cc
index 8d652214f67d3d4722f01e3ac261fb11aeb4abd2..b5099433d9641f80cb50e966e0059709e742f3ec 100644
--- a/chrome/browser/renderer_host/render_widget_host_view_views.cc
+++ b/chrome/browser/renderer_host/render_widget_host_view_views.cc
@@ -1127,7 +1127,7 @@ void RenderWidgetHostViewViews::AcceleratedSurfaceNew(
}
*surface_handle = surface->Handle();
- accelerated_surface_containers_[*surface_id] = surface.release();
+ accelerated_surface_containers_[*surface_id] = surface;
}
void RenderWidgetHostViewViews::AcceleratedSurfaceRelease(uint64 surface_id) {
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698