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

Unified Diff: android_webview/native/cookie_manager.cc

Issue 16907002: Update Android to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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 | « android_webview/native/aw_http_auth_handler.cc ('k') | cc/resources/raster_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/cookie_manager.cc
diff --git a/android_webview/native/cookie_manager.cc b/android_webview/native/cookie_manager.cc
index b0f477c3b4d9345728b42e93720428e50903e609..597fa05900d48d748628cf28a4c2cba60e1cd907 100644
--- a/android_webview/native/cookie_manager.cc
+++ b/android_webview/native/cookie_manager.cc
@@ -122,7 +122,7 @@ void CookieManager::ExecCookieTask(const CookieTask& task,
const bool wait_for_completion) {
base::WaitableEvent completion(false, false);
- DCHECK(cookie_monster_);
+ DCHECK(cookie_monster_.get());
BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE,
base::Bind(task, wait_for_completion ? &completion : NULL));
@@ -134,7 +134,7 @@ void CookieManager::ExecCookieTask(const CookieTask& task,
}
void CookieManager::SetCookieMonster(net::CookieMonster* cookie_monster) {
- DCHECK(!cookie_monster_);
+ DCHECK(!cookie_monster_.get());
cookie_monster_ = cookie_monster;
}
« no previous file with comments | « android_webview/native/aw_http_auth_handler.cc ('k') | cc/resources/raster_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698