Pepper: Fix thunk function names with versions.
Thunk files previously had buggy code when dealing with multiple versions of a
function. It's easiest to explain with the example Yuzhu gave:
The IDL file has three versions defined:
label Chrome {
M19 = 0.2,
M25 = 0.3,
M29 = 0.4
};
And the interface has:
int32_t Open(...)
[version=0.4]
int32_t Open(...)
The generated thunk defines Open_0_2() and Open(). But the v0.3 interface
structure use Open_0_3() which isn't defined.
This change makes the v0.3 interface above use Open_0_2, as intended.
BUG=239984
Review URL: https://chromiumcodereview.appspot.com/14927016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202119 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed