|
ake string_util::WriteInto() DCHECK() that the supplied |length_with_null| > 1, meaning that the without-'\0' string is non-empty. This replaces the conditional code added recently that makes this case return NULL. It's easier to understand if it's simply an error to call WriteInto() in this case at all.
Add DCHECK()s or conditionals as appropriate to callers in order to ensure this assertion holds.
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112005
Total comments: 14
Total comments: 2
Total comments: 6
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+215 lines, -274 lines) |
Patch |
|
M |
base/base_paths_mac.mm
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
|
M |
base/rand_util.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
base/rand_util.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
base/rand_util_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
base/string_util.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+19 lines, -27 lines |
0 comments
|
Download
|
|
M |
base/string_util_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+21 lines, -28 lines |
0 comments
|
Download
|
|
M |
chrome/browser/automation/testing_automation_provider_win.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/browser_focus_uitest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/mac/install_from_dmg.mm
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/shell_integration_win.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/common/metrics_log_manager.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/time_format.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome_frame/chrome_tab.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome_frame/test/win_event_receiver.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome_frame/utils.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
crypto/encryptor.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
crypto/encryptor_mac.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
crypto/encryptor_nss.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+12 lines, -17 lines |
0 comments
|
Download
|
|
M |
crypto/encryptor_openssl.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
crypto/encryptor_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
|
M |
crypto/encryptor_win.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
crypto/symmetric_key.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
crypto/symmetric_key_openssl.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
|
M |
media/audio/win/audio_manager_win.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
net/base/net_util.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+36 lines, -43 lines |
0 comments
|
Download
|
|
M |
net/base/x509_certificate_win.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+12 lines, -8 lines |
0 comments
|
Download
|
|
M |
net/disk_cache/entry_impl.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
net/http/http_mac_signature.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
net/http/http_mac_signature_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
sandbox/src/process_policy_test.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
sandbox/src/sandbox_utils.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -13 lines |
0 comments
|
Download
|
|
M |
sandbox/src/sandbox_utils.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
|
M |
sandbox/tests/common/controller.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/base/clipboard/clipboard_win.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/base/l10n/l10n_util.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/base/win/ime_input.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+12 lines, -15 lines |
0 comments
|
Download
|
|
M |
views/controls/textfield/native_textfield_win.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+5 lines, -11 lines |
0 comments
|
Download
|
Total messages: 30 (0 generated)
|