| Index: third_party/WebKit/Source/bindings/scripts/utilities.py
|
| diff --git a/third_party/WebKit/Source/bindings/scripts/utilities.py b/third_party/WebKit/Source/bindings/scripts/utilities.py
|
| index a212453fd4d81227c3bd6801b79e64054a153a52..991f9db5725352ade27aac1d2ca5ed5a6349965e 100644
|
| --- a/third_party/WebKit/Source/bindings/scripts/utilities.py
|
| +++ b/third_party/WebKit/Source/bindings/scripts/utilities.py
|
| @@ -412,9 +412,11 @@ def get_interface_exposed_arguments(file_contents):
|
|
|
| # Workaround for http://crbug.com/611437
|
| # TODO(bashi): Remove this hack once we resolve too-long generated file names.
|
| +# pylint: disable=line-too-long
|
| def shorten_union_name(union_type):
|
| aliases = {
|
| 'CanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContextOrImageBitmapRenderingContext': 'RenderingContext',
|
| + 'HTMLImageElementOrSVGImageElementOrHTMLVideoElementOrHTMLCanvasElementOrBlobOrImageDataOrImageBitmapOrOffscreenCanvas': 'ImageBitmapSource',
|
| }
|
|
|
| idl_type = union_type
|
|
|