Commit 28c59a24 authored by dcheng's avatar dcheng Committed by Commit bot

Remove implicit conversions from scoped_refptr to T* in sandbox/

This patch was generated by running the rewrite_scoped_refptr clang tool
on a Linux build.

BUG=110610

Review URL: https://codereview.chromium.org/467183005

Cr-Commit-Position: refs/heads/master@{#292052}
parent c2e01e8f
......@@ -248,7 +248,7 @@ ResultExpr Elser::Else(ResultExpr else_result) const {
// and end up with an appropriately chained tree.
ResultExpr expr = else_result;
for (Cons<Clause>::List it = clause_list_; it; it = it->tail()) {
for (Cons<Clause>::List it = clause_list_; it.get(); it = it->tail()) {
Clause clause = it->head();
expr = ResultExpr(
new const IfThenResultExprImpl(clause.first, clause.second, expr));
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment