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

Unified Diff: components/dom_distiller/core/distiller.cc

Issue 500383003: Remove implicit conversions from scoped_refptr to T* in components/ (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
Index: components/dom_distiller/core/distiller.cc
diff --git a/components/dom_distiller/core/distiller.cc b/components/dom_distiller/core/distiller.cc
index 472b45361881b29c2f25b66210d88d058de50f6c..b5227adfbd1072178013f0e6cf9d1af62f89abe8 100644
--- a/components/dom_distiller/core/distiller.cc
+++ b/components/dom_distiller/core/distiller.cc
@@ -200,7 +200,7 @@ void DistillerImpl::OnFetchImageDone(int page_num,
const std::string& response) {
DCHECK(started_pages_index_.find(page_num) != started_pages_index_.end());
DistilledPageData* page_data = GetPageAtIndex(started_pages_index_[page_num]);
- DCHECK(page_data->distilled_page_proto);
+ DCHECK(page_data->distilled_page_proto.get());
DCHECK(url_fetcher);
ScopedVector<DistillerURLFetcher>::iterator fetcher_it =
std::find(page_data->image_fetchers_.begin(),
« no previous file with comments | « no previous file | components/gcm_driver/gcm_client_impl.cc » ('j') | components/webdata/common/web_database_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698