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

Unified Diff: chrome/test/chromedriver/net/sync_websocket_factory.cc

Issue 15836003: Update chrome/ 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, 7 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: chrome/test/chromedriver/net/sync_websocket_factory.cc
diff --git a/chrome/test/chromedriver/net/sync_websocket_factory.cc b/chrome/test/chromedriver/net/sync_websocket_factory.cc
index 8759cbb3239c9f4499219b33e4772b422df3a132..77c31f04c8b2b81661028c35dd36c79d9a213285 100644
--- a/chrome/test/chromedriver/net/sync_websocket_factory.cc
+++ b/chrome/test/chromedriver/net/sync_websocket_factory.cc
@@ -13,7 +13,7 @@ namespace {
scoped_ptr<SyncWebSocket> CreateSyncWebSocket(
scoped_refptr<URLRequestContextGetter> context_getter) {
- return scoped_ptr<SyncWebSocket>(new SyncWebSocketImpl(context_getter));
+ return scoped_ptr<SyncWebSocket>(new SyncWebSocketImpl(context_getter.get()));
}
} // namespace
« no previous file with comments | « chrome/test/chromedriver/net/net_util_unittest.cc ('k') | chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698