Commit 00e27ae1 authored by Maja Kabus's avatar Maja Kabus Committed by Commit Bot

IDL Compiler: Add include for trace_wrapper_member.h to IDL dictionaries.

Change 1152336 may generate TraceWrapperMember<..> instances but does not include the header.
(In test dictionary it is implicitly included e.g. via element.h include)

Bug: 867875
Change-Id: I2e627826624c391d3b993b81ca6ed04f477139f6
Reviewed-on: https://chromium-review.googlesource.com/1170684Reviewed-by: default avatarDaniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: default avatarYuki Shiino <yukishiino@chromium.org>
Reviewed-by: default avatarHitoshi Yoshida <peria@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Maja Kabus <kabusm@google.com>
Cr-Commit-Position: refs/heads/master@{#582199}
parent 09104124
......@@ -525,7 +525,8 @@ def impl_includes_for_type(idl_type, interfaces_info):
includes_for_type.add('platform/wtf/text/wtf_string.h')
if idl_type.is_callback_function:
component = IdlType.callback_functions[base_idl_type]['component_dir']
return set(['bindings/%s/v8/%s' % (component, binding_header_filename(base_idl_type))])
return set(['bindings/%s/v8/%s' % (component, binding_header_filename(base_idl_type)),
'platform/bindings/trace_wrapper_member.h'])
if base_idl_type in interfaces_info:
interface_info = interfaces_info[base_idl_type]
includes_for_type.add(interface_info['include_path'])
......
......@@ -28,6 +28,7 @@
#include "third_party/blink/renderer/core/testing/internal_dictionary.h"
#include "third_party/blink/renderer/core/typed_arrays/array_buffer_view_helpers.h"
#include "third_party/blink/renderer/core/typed_arrays/dom_typed_array.h"
#include "third_party/blink/renderer/platform/bindings/trace_wrapper_member.h"
#include "third_party/blink/renderer/platform/heap/handle.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment