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

Unified Diff: chrome/browser/policy/cloud/external_policy_data_updater.cc

Issue 15987009: Update chrome/ to use WeakPtr<T>::get() instead of implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « chrome/browser/net/transport_security_persister.cc ('k') | chrome/browser/prerender/prerender_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/cloud/external_policy_data_updater.cc
diff --git a/chrome/browser/policy/cloud/external_policy_data_updater.cc b/chrome/browser/policy/cloud/external_policy_data_updater.cc
index c257442062468064a20e3c071bc274818eacca81..c5675a8529549ce6222d8e9d5d10b7141344ee73 100644
--- a/chrome/browser/policy/cloud/external_policy_data_updater.cc
+++ b/chrome/browser/policy/cloud/external_policy_data_updater.cc
@@ -386,7 +386,7 @@ void ExternalPolicyDataUpdater::StartNextJobs() {
return;
while (running_jobs_ < max_parallel_jobs_ && !job_queue_.empty()) {
- FetchJob* job = job_queue_.front();
+ FetchJob* job = job_queue_.front().get();
job_queue_.pop();
// Some of the jobs may have been invalidated, and have to be skipped.
« no previous file with comments | « chrome/browser/net/transport_security_persister.cc ('k') | chrome/browser/prerender/prerender_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698