소스 검색

LibWeb: Add missing Page.h include to SVGDecodedImageData

The PageClient for SVGDecodedImageData needs to actually have the
definition of PageClient available in order to inherit from it. This
fixes importing this header from Objective-C or Swift.
Andrew Kaster 11 달 전
부모
커밋
e45b7b0a86
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Userland/Libraries/LibWeb/SVG/SVGDecodedImageData.h

+ 1 - 0
Userland/Libraries/LibWeb/SVG/SVGDecodedImageData.h

@@ -8,6 +8,7 @@
 
 #include <LibWeb/DOM/Document.h>
 #include <LibWeb/HTML/DecodedImageData.h>
+#include <LibWeb/Page/Page.h>
 
 namespace Web::SVG {