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

Unified Diff: chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc

Issue 10383207: Fix new -Wnull-conversion violations detected by a newer clang. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/debugger/devtools_window.cc ('k') | chrome/browser/extensions/test_extension_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
diff --git a/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc b/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
index 52e9da98ed5b1d1d9709891a5bd556eaecc30911..654b61f1c3fca5c80c6fb3b5cb6d3edf8605be55 100644
--- a/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
+++ b/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
@@ -544,7 +544,7 @@ GetAllOffscreenTabFunction::~GetAllOffscreenTabFunction() {}
bool GetAllOffscreenTabFunction::RunImpl() {
WebContents* web_contents = GetCurrentWebContents(this, &error_);
if (!web_contents)
- return NULL;
+ return false;
ParentTab* parent_tab = GetMap()->GetParentTab(web_contents, extension_id());
ListValue* tab_list = new ListValue();
« no previous file with comments | « chrome/browser/debugger/devtools_window.cc ('k') | chrome/browser/extensions/test_extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698