commit | af6f1dba45268bcf9f74c925e20fe447f962185a | [log] [tgz] |
---|---|---|
author | jl@opera.com <jl@opera.com> | Tue Sep 23 12:50:29 2014 |
committer | jl@opera.com <jl@opera.com> | Tue Sep 23 12:50:29 2014 |
tree | c50893d92e87118fed20be9a219aa087feb3be21 | |
parent | 5f5983a6119d9b886d6f6eee7ee4983854cb96c9 [diff] |
IDL: Support [DeprecateAs] and [MeasureAs] on constants For constants with [DeprecateAs] or [MeasureAs], create the property using v8::Template::SetNativeDataProperty() instead, using a simple accessor callback function that handles the deprecation/measuring and returns the constant value. BUG=358506 Review URL: https://codereview.chromium.org/577303002 git-svn-id: svn://svn.chromium.org/blink/trunk@182492 bbb929c8-8fbe-4397-9dbb-9b2b20218538