summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_thread.cc
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 06:43:08 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 06:43:08 +0000
commitb19171c25e41bac6980550abed63df80165b5f1e (patch)
tree14fb3af18f5954f324e4e4360742623e47e229de /chrome/common/child_thread.cc
parent05b88274fffd678b41c68106aa573fb1187ea95b (diff)
downloadchromium_src-b19171c25e41bac6980550abed63df80165b5f1e.zip
chromium_src-b19171c25e41bac6980550abed63df80165b5f1e.tar.gz
chromium_src-b19171c25e41bac6980550abed63df80165b5f1e.tar.bz2
Fix a conditional jump depending on an uninitialized value from r39951 by setting it to false in the ctor.
TBR=dimich BUG=none TEST=Linux, Mac, and ChromiumOS valgrind UI tests Review URL: http://codereview.chromium.org/661065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_thread.cc')
-rw-r--r--chrome/common/child_thread.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/child_thread.cc b/chrome/common/child_thread.cc
index 6fea712..c7b488a 100644
--- a/chrome/common/child_thread.cc
+++ b/chrome/common/child_thread.cc
@@ -24,7 +24,8 @@ ChildThread::ChildThread() {
}
ChildThread::ChildThread(const std::string& channel_name)
- : channel_name_(channel_name) {
+ : channel_name_(channel_name),
+ on_channel_error_called_(false) {
Init();
}