diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-13 16:34:48 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-13 16:34:48 +0000 |
commit | 87e46897bafd1be81f8b1f0c677b125258715002 (patch) | |
tree | 431fe96e920b6e86d49026294d4eae8a5842cfe4 | |
parent | 2903f3b113ecdc3fa64076c4d31a78f79e6fe2e6 (diff) | |
download | chromium_src-87e46897bafd1be81f8b1f0c677b125258715002.zip chromium_src-87e46897bafd1be81f8b1f0c677b125258715002.tar.gz chromium_src-87e46897bafd1be81f8b1f0c677b125258715002.tar.bz2 |
Revert a change made to try and make purify errors go away now that Erik Kay has disabled purify runs for the relevant tests.
Review URL: http://codereview.chromium.org/42162
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11638 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_win.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc index 6b9c254..66db822 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc +++ b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc @@ -1833,11 +1833,8 @@ void AutocompleteEditViewWin::EmphasizeURLComponents() { ScopedFreeze freeze(this, text_object_model); ScopedSuspendUndo suspend_undo(text_object_model); - // Save the selection. Bug 8314: Purify started reporting uninitialized - // memory access in saved_sel. This would suggest that GetSelection(), which - // is calling the rich edit's GetSel() is failing. I'm not sure how or why - // this would happen. For now just initialize the CHARRANGE to be safe. - CHARRANGE saved_sel = {0, 0}; + // Save the selection. + CHARRANGE saved_sel; GetSelection(saved_sel); // See whether the contents are a URL with a non-empty host portion, which we |