Chromium Code Reviews| Index: Source/bindings/scripts/code_generator_v8.pm |
| diff --git a/Source/bindings/scripts/code_generator_v8.pm b/Source/bindings/scripts/code_generator_v8.pm |
| index df956b87dff421b022246172e6284f092390125e..15e1f506638ab17d3d300e9526b2692dcca7d3d5 100644 |
| --- a/Source/bindings/scripts/code_generator_v8.pm |
| +++ b/Source/bindings/scripts/code_generator_v8.pm |
| @@ -4114,6 +4114,11 @@ sub GenerateImplementation |
| AddToImplIncludes("platform/TraceEvent.h"); |
| AddIncludesForType($interfaceName); |
| + if ($interface->extendedAttributes->{"CheckSecurity"}) { |
|
Nils Barth (inactive)
2013/11/19 06:56:06
This just makes sure the includes happen at the "g
|
| + AddToImplIncludes("bindings/v8/BindingSecurity.h"); |
| + AddToImplIncludes("bindings/v8/ExceptionMessages.h"); |
| + AddToImplIncludes("bindings/v8/ExceptionState.h"); |
| + } |
| my $toActiveDOMObject = InheritsExtendedAttribute($interface, "ActiveDOMObject") ? "${v8ClassName}::toActiveDOMObject" : "0"; |
| my $toEventTarget = InheritsInterface($interface, "EventTarget") ? "${v8ClassName}::toEventTarget" : "0"; |