The Galaxy made a game of it, but the Spanish club claimed the win...

The crowd of nearly 94,000 on hand at the Rose Bowl in Pasadena, was the largest to watch a football match in the United States since the 1994 World Cup.
Were treated to an entertaining match between Barcelona and Los Angeles Galaxy, who have seen the redemption of David Beckham, at least when it comes to fans of Galaxy. Despite its pre-season, Barcelona still showed their quality, while seeking the 2-1 win....[source]