diff options
-rw-r--r-- | chrome/browser/debugger/devtools_window.cc | 2 | ||||
-rw-r--r-- | chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc | 2 | ||||
-rw-r--r-- | chrome/browser/extensions/test_extension_service.cc | 2 | ||||
-rw-r--r-- | chrome/common/zip_reader.cc | 4 | ||||
-rw-r--r-- | printing/pdf_metafile_skia.cc | 2 | ||||
-rw-r--r-- | third_party/sudden_motion_sensor/sudden_motion_sensor_mac.cc | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc index 6a104ff..7a42904 100644 --- a/chrome/browser/debugger/devtools_window.cc +++ b/chrome/browser/debugger/devtools_window.cc @@ -101,7 +101,7 @@ TabContentsWrapper* DevToolsWindow::GetDevToolsContents( // static bool DevToolsWindow::IsDevToolsWindow(RenderViewHost* window_rvh) { if (g_instances == NULL) - return NULL; + return false; DevToolsWindowList& instances = g_instances.Get(); for (DevToolsWindowList::iterator it = instances.begin(); it != instances.end(); ++it) { 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 52e9da9..654b61f 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(); diff --git a/chrome/browser/extensions/test_extension_service.cc b/chrome/browser/extensions/test_extension_service.cc index 86d4788..bab9ac9 100644 --- a/chrome/browser/extensions/test_extension_service.cc +++ b/chrome/browser/extensions/test_extension_service.cc @@ -31,7 +31,7 @@ bool TestExtensionService::UpdateExtension( const GURL& download_url, CrxInstaller** out_crx_installer) { ADD_FAILURE(); - return NULL; + return false; } const Extension* TestExtensionService::GetExtensionById( diff --git a/chrome/common/zip_reader.cc b/chrome/common/zip_reader.cc index 898654bc..a1b5b1c 100644 --- a/chrome/common/zip_reader.cc +++ b/chrome/common/zip_reader.cc @@ -148,9 +148,9 @@ bool ZipReader::OpenCurrentEntryInZip() { NULL, // szComment. 0); // commentBufferSize. if (result != UNZ_OK) - return NULL; + return false; if (raw_file_name_in_zip[0] == '\0') - return NULL; + return false; current_entry_info_.reset( new EntryInfo(raw_file_name_in_zip, raw_file_info)); return true; diff --git a/printing/pdf_metafile_skia.cc b/printing/pdf_metafile_skia.cc index fdff44f..b1b35ed 100644 --- a/printing/pdf_metafile_skia.cc +++ b/printing/pdf_metafile_skia.cc @@ -73,7 +73,7 @@ bool PdfMetafileSkia::StartPage(const gfx::Size& page_size, const gfx::Rect& content_area, const float& scale_factor) { NOTREACHED(); - return NULL; + return false; } bool PdfMetafileSkia::FinishPage() { diff --git a/third_party/sudden_motion_sensor/sudden_motion_sensor_mac.cc b/third_party/sudden_motion_sensor/sudden_motion_sensor_mac.cc index 869763f..bf868dc 100644 --- a/third_party/sudden_motion_sensor/sudden_motion_sensor_mac.cc +++ b/third_party/sudden_motion_sensor/sudden_motion_sensor_mac.cc @@ -289,7 +289,7 @@ bool SuddenMotionSensor::Init() { size_t local_model_size = sizeof(local_model); int params[2] = { CTL_HW, HW_MODEL }; if (sysctl(params, 2, local_model, &local_model_size, NULL, 0) != 0) - return NULL; + return false; const SensorDescriptor* sensor_candidate = NULL; |