Please read this whole message before doing anything.
This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of this exercise is to determine whether the problem is localized to your user account. Enable guest logins and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up a guest account” (without the quotes) in the search box.
While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
Test while logged in as Guest. Same problem(s)?
After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
Note: If you’ve activated “Find My Mac” or FileVault in Mac OS X 10.7 or later, then you can’t enable the Guest account. Create a new account in which to test, and delete it, including its home folder, after testing.
What I did to originally change the icon in the first place was that I:
1. Went to applications
2. Pressed get info on Safari
3. Pressed get info on the custom picture that I wanted
4. highlighted the Safari icon in the top-left corner
5. dragged the icon of the custom picture into the Safari get-info window.
When I saw that this screwed up the icon I:
1. Opened Safari's package contents
2. Pressed get-info on the compass.icns file
3. Pressed get-info on Safari.
etc. etc. you get the idea. But it didn't change it back.