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

Unified Diff: sandbox/linux/bpf_dsl/cons_unittest.cc

Issue 467183005: Remove implicit conversions from scoped_refptr to T* in sandbox/ (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 | « sandbox/linux/bpf_dsl/bpf_dsl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/bpf_dsl/cons_unittest.cc
diff --git a/sandbox/linux/bpf_dsl/cons_unittest.cc b/sandbox/linux/bpf_dsl/cons_unittest.cc
index 790cae081208a33914c79e970c03760987b5e79e..571e767b91090b3d1287643496516903abc8dc43 100644
--- a/sandbox/linux/bpf_dsl/cons_unittest.cc
+++ b/sandbox/linux/bpf_dsl/cons_unittest.cc
@@ -13,7 +13,7 @@ namespace {
std::string Join(Cons<char>::List char_list) {
std::string res;
- for (Cons<char>::List it = char_list; it; it = it->tail()) {
+ for (Cons<char>::List it = char_list; it.get(); it = it->tail()) {
res.push_back(it->head());
}
return res;
« no previous file with comments | « sandbox/linux/bpf_dsl/bpf_dsl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698