The company’s revenues slipped some with weakness in China, but were better than analysts projected.