First of all, a war between the 2 is unlikely, but it is still fun to speculate about it.
Would a larger economy be the sole deciding factor in case of a war? If a war between the 2 countries would break out, then China would most likely be the agressor, thus resulting in international pressure...