what does "the chips were down foreigners yielded to power"mean?
Li Hung-chang approved of these suggestions and added several of his own, especially stressing military modernization. In spite of the diplomatic cooperation of the 1860s, Li feared that when the chips were down foreigners yielded to power, not to international law. The Chinese desperately needed to train new officers in the use of modern weapons and to replace their unwieldy provincial garrisons with smaller, more mobile armies. Coastal defenses had to be strengthened along the North China Sea and around the Yangtze. Arsenals needed to be constructed so that the country did not have to depend upon foreigners for guns and warships.I don't understand the "chips", what does it mean?what does "the chips were down"mean?