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

Unified Diff: chrome/browser/android/dev_tools_server.cc

Issue 1782443008: Change scoped_ptr to a type alias for std::unique_ptr for OS_ANDROID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « base/memory/scoped_ptr.h ('k') | media/base/android/media_codec_player_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/dev_tools_server.cc
diff --git a/chrome/browser/android/dev_tools_server.cc b/chrome/browser/android/dev_tools_server.cc
index 0d05398bccae9a4aba3f210ce3865c7d9cf27f72..fcd5dd677614dfa742203ba54eb03d17af06a097 100644
--- a/chrome/browser/android/dev_tools_server.cc
+++ b/chrome/browser/android/dev_tools_server.cc
@@ -225,7 +225,7 @@ void DevToolsServer::Stop() {
}
bool DevToolsServer::IsStarted() const {
- return devtools_http_handler_;
+ return !!devtools_http_handler_;
}
bool RegisterDevToolsServer(JNIEnv* env) {
« no previous file with comments | « base/memory/scoped_ptr.h ('k') | media/base/android/media_codec_player_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698