Although I'm a bear spray over firearm guy (though I have many..), there is another issue with regard to the 10mm or any semi-auto if carried for protection in the (highly unlikely) event of bear attack: one handed operation.
Yep.... I know that many modern semi-auto pistols are reliable... rarely jam or FTF...etc. But JUST IN CASE... I don't think a weapon clearance drill with one hand while under a bear is an easy skill to practice.
So if it just has to be a handgun, for me it will be a revolver.