diff options
author | dcheng <dcheng@chromium.org> | 2014-08-25 17:46:41 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-26 00:47:57 +0000 |
commit | 48459ac2153ce3e4512fccff9825b705952c5d77 (patch) | |
tree | 24731e29739ed3734688f51e519d5307126fdc05 /net/http/http_response_headers_unittest.cc | |
parent | d880a3deca8ab1c6c75ef915faa22ab7d40f55ff (diff) | |
download | chromium_src-48459ac2153ce3e4512fccff9825b705952c5d77.zip chromium_src-48459ac2153ce3e4512fccff9825b705952c5d77.tar.gz chromium_src-48459ac2153ce3e4512fccff9825b705952c5d77.tar.bz2 |
Remove implicit conversions from scoped_refptr to T* in net/http/
This patch was generated by running the rewrite_scoped_refptr clang tool
on a Linux build.
BUG=110610
Review URL: https://codereview.chromium.org/502163003
Cr-Commit-Position: refs/heads/master@{#291815}
Diffstat (limited to 'net/http/http_response_headers_unittest.cc')
-rw-r--r-- | net/http/http_response_headers_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_response_headers_unittest.cc b/net/http/http_response_headers_unittest.cc index 409a6bd..098ce73e9 100644 --- a/net/http/http_response_headers_unittest.cc +++ b/net/http/http_response_headers_unittest.cc @@ -61,7 +61,7 @@ class HttpResponseHeadersCacheControlTest : public HttpResponseHeadersTest { // Get the max-age value. This should only be used in tests where a valid // max-age parameter is expected to be present. TimeDelta GetMaxAgeValue() { - DCHECK(headers_) << "Call InitializeHeadersWithCacheControl() first"; + DCHECK(headers_.get()) << "Call InitializeHeadersWithCacheControl() first"; TimeDelta max_age_value; EXPECT_TRUE(headers()->GetMaxAgeValue(&max_age_value)); return max_age_value; @@ -70,7 +70,7 @@ class HttpResponseHeadersCacheControlTest : public HttpResponseHeadersTest { // Get the stale-while-revalidate value. This should only be used in tests // where a valid max-age parameter is expected to be present. TimeDelta GetStaleWhileRevalidateValue() { - DCHECK(headers_) << "Call InitializeHeadersWithCacheControl() first"; + DCHECK(headers_.get()) << "Call InitializeHeadersWithCacheControl() first"; TimeDelta stale_while_revalidate_value; EXPECT_TRUE( headers()->GetStaleWhileRevalidateValue(&stale_while_revalidate_value)); |