To hug one's self

to congratulate one's self; to chuckle.

See also: Hug

Webster's Revised Unabridged Dictionary, published 1913 by G. & C. Merriam Co.