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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 14081010: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some gtk issues Created 7 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: content/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 1785386da2064328515ecd06d15f5b46bffc6423..fd3f2a3b50780bbfd46cbb66b14593b9b795a106 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -1708,7 +1708,7 @@ void RenderWidgetHostViewAura::CopyFromCompositingSurfaceFinished(
bool result) {
callback.Run(result, bitmap);
- if (!render_widget_host_view.get())
+ if (!render_widget_host_view)
return;
--render_widget_host_view->pending_thumbnail_tasks_;
}

Powered by Google App Engine
This is Rietveld 408576698