Reland: Fix errors when building android with coverage=1
Originally landed in r204547 Reverted in r204553 due to cq anomaly. Android builds with coverage=1 fail due to uninitialized variable warnings in base/linux_util.cc and base/net/net_util.cc BUG=245467 TBR=willchan Review URL: https://chromiumcodereview.appspot.com/16589002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204662 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
1
AUTHORS
1
AUTHORS
@ -264,3 +264,4 @@ Teodora Novkovic <teodora.petrovic@gmail.com>
|
||||
Joseph Gentle <josephg@gmail.com>
|
||||
Paul Lind <paul.lind@imgtec.com>
|
||||
Chaobin Zhang <zhchbin@gmail.com>
|
||||
Code Aurora Forum <*@codeaurora.org>
|
||||
|
@ -231,7 +231,7 @@ bool FindProcessHoldingSocket(pid_t* pid_out, ino_t socket_inode) {
|
||||
continue;
|
||||
}
|
||||
|
||||
ino_t fd_inode;
|
||||
ino_t fd_inode = static_cast<ino_t>(-1);
|
||||
if (ProcPathGetInode(&fd_inode, buf)) {
|
||||
if (fd_inode == socket_inode) {
|
||||
if (already_found) {
|
||||
|
@ -267,7 +267,7 @@ bool IsComponentCoveredByLang(const icu::UnicodeSet& component_characters,
|
||||
const std::string& lang) {
|
||||
CR_DEFINE_STATIC_LOCAL(
|
||||
const icu::UnicodeSet, kASCIILetters, ('a', 'z'));
|
||||
icu::UnicodeSet* lang_set;
|
||||
icu::UnicodeSet* lang_set = NULL;
|
||||
// We're called from both the UI thread and the history thread.
|
||||
{
|
||||
base::AutoLock lock(g_lang_set_lock.Get());
|
||||
|
Reference in New Issue
Block a user