summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmenke <mmenke@chromium.org>2014-10-29 13:56:47 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-29 20:57:12 +0000
commitbbd65918d052f5095299676f9b0800506e7ae2c0 (patch)
tree007c4c52c895ab7c5b8eb451e01a7abb766d2974
parentca7ccb00f570281ba9a5d1d232f1f4212d56e9c8 (diff)
downloadchromium_src-bbd65918d052f5095299676f9b0800506e7ae2c0.zip
chromium_src-bbd65918d052f5095299676f9b0800506e7ae2c0.tar.gz
chromium_src-bbd65918d052f5095299676f9b0800506e7ae2c0.tar.bz2
Fix bug introduced in https://codereview.chromium.org/679103004/,
here get() was used instead of release() on a scoped_ptr in NetLogLogger. BUG=426918 Review URL: https://codereview.chromium.org/688103002 Cr-Commit-Position: refs/heads/master@{#301924}
-rw-r--r--net/base/net_log_logger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/net_log_logger.cc b/net/base/net_log_logger.cc
index 975b246..bb0331b 100644
--- a/net/base/net_log_logger.cc
+++ b/net/base/net_log_logger.cc
@@ -62,7 +62,7 @@ void NetLogLogger::OnAddEntry(const net::NetLog::Entry& entry) {
// static
base::DictionaryValue* NetLogLogger::GetConstants() {
- return GetNetConstants().get();
+ return GetNetConstants().release();
}
} // namespace net