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

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

Issue 501033003: Remove implicit conversions from scoped_refptr to T* in content/browser/renderer_host/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_resize_helper.cc
diff --git a/content/browser/renderer_host/render_widget_resize_helper.cc b/content/browser/renderer_host/render_widget_resize_helper.cc
index acbee4aa2f5ac08128b54d7a1a04b06a155b1f5d..fe29350db992f8f1bd076fe1347bd5903f43b865 100644
--- a/content/browser/renderer_host/render_widget_resize_helper.cc
+++ b/content/browser/renderer_host/render_widget_resize_helper.cc
@@ -173,7 +173,7 @@ void WrappedTask::AddToTaskRunnerQueue(
}
void WrappedTask::RemoveFromTaskRunnerQueue() {
- if (!pumpable_task_runner_)
+ if (!pumpable_task_runner_.get())
return;
// The scope of the task runner's lock must be limited because removing
// this reference to the task runner may destroy it.
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698