summaryrefslogtreecommitdiffstats
path: root/ceee
diff options
context:
space:
mode:
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-25 04:04:15 +0000
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-25 04:04:15 +0000
commit6f0bfe3b1acb123db45d0f207d18694f21801e64 (patch)
tree6c60938eb4a17b343a469c5cc5e4709e639086c6 /ceee
parent244f889273c0159ecd4ca3449c1be7fa93866f3d (diff)
downloadchromium_src-6f0bfe3b1acb123db45d0f207d18694f21801e64.zip
chromium_src-6f0bfe3b1acb123db45d0f207d18694f21801e64.tar.gz
chromium_src-6f0bfe3b1acb123db45d0f207d18694f21801e64.tar.bz2
Removed error log message on empty string.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6268013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ceee')
-rw-r--r--ceee/ie/plugin/bho/browser_helper_object.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ceee/ie/plugin/bho/browser_helper_object.cc b/ceee/ie/plugin/bho/browser_helper_object.cc
index aa1b426..f117a8b 100644
--- a/ceee/ie/plugin/bho/browser_helper_object.cc
+++ b/ceee/ie/plugin/bho/browser_helper_object.cc
@@ -127,7 +127,7 @@ HRESULT BrowserHelperObject::FinalConstruct() {
reinterpret_cast<wchar_t*>(&bho_list), 0);
if (bho_list == NULL) {
LOG(ERROR) << "Failed to load string: " << GetLastError();
- } else {
+ } else if (wcslen(bho_list) > 0) {
std::vector<std::wstring> guids;
base::SplitString(bho_list, ',', &guids);
for (size_t i = 0; i < guids.size(); ++i) {