Title: [221048] trunk/Source/WebCore
Revision
221048
Author
cdu...@apple.com
Date
2017-08-22 14:31:33 -0700 (Tue, 22 Aug 2017)

Log Message

[EnabledBySetting] in WebIDL uses Document but does not include Document.h
https://bugs.webkit.org/show_bug.cgi?id=175843

Reviewed by Sam Weinig.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (221047 => 221048)


--- trunk/Source/WebCore/ChangeLog	2017-08-22 21:10:12 UTC (rev 221047)
+++ trunk/Source/WebCore/ChangeLog	2017-08-22 21:31:33 UTC (rev 221048)
@@ -1,3 +1,13 @@
+2017-08-22  Chris Dumez  <cdu...@apple.com>
+
+        [EnabledBySetting] in WebIDL uses Document but does not include Document.h
+        https://bugs.webkit.org/show_bug.cgi?id=175843
+
+        Reviewed by Sam Weinig.
+
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (GenerateImplementation):
+
 2017-08-22  Jer Noble  <jer.no...@apple.com>
 
         Refactor videoPerformanceQuality() MediaPlayer methods into single call.

Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (221047 => 221048)


--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm	2017-08-22 21:10:12 UTC (rev 221047)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm	2017-08-22 21:31:33 UTC (rev 221048)
@@ -4063,6 +4063,7 @@
         my @settingsEnabledProperties = @settingsEnabledOperations;
         push(@settingsEnabledProperties, @settingsEnabledAttributes);
         if (scalar(@settingsEnabledProperties)) {
+            AddToImplIncludes("Document.h");
             AddToImplIncludes("Settings.h");
             push(@implContent, "    auto* context = jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext();\n");
             push(@implContent, "    ASSERT(!context || context->isDocument());\n");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to