Index: content/browser/renderer_host/render_widget_host_view_win.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc |
index 150ce4e6f75db93db6d09cf4b2e9c4ff6cab034f..ee6bf934a70d09eeb95b5aa25fdb975e06a424c1 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_win.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc |
@@ -12,8 +12,9 @@ |
#include <map> |
#include <stack> |
+#include "base/basictypes.h" |
#include "base/bind.h" |
-#include "base/bind_helpers.h" |
+#include "base/callback_helpers.h" |
#include "base/command_line.h" |
#include "base/debug/trace_event.h" |
#include "base/i18n/rtl.h" |
@@ -885,7 +886,7 @@ void RenderWidgetHostViewWin::CopyFromCompositingSurface( |
if (dst_size.IsEmpty() || src_subrect.IsEmpty()) |
return; |
- scoped_callback_runner.Release(); |
+ ignore_result(scoped_callback_runner.Release()); |
accelerated_surface_->AsyncCopyTo(src_subrect, dst_size, callback); |
} |
@@ -904,7 +905,7 @@ void RenderWidgetHostViewWin::CopyFromCompositingSurfaceToVideoFrame( |
if (src_subrect.IsEmpty()) |
return; |
- scoped_callback_runner.Release(); |
+ ignore_result(scoped_callback_runner.Release()); |
accelerated_surface_->AsyncCopyToVideoFrame(src_subrect, target, callback); |
} |