diff --git a/content/html/content/src/HTMLCanvasElement.cpp b/content/html/content/src/HTMLCanvasElement.cpp index b8cd1c17ef88..654d4839f83c 100644 --- a/content/html/content/src/HTMLCanvasElement.cpp +++ b/content/html/content/src/HTMLCanvasElement.cpp @@ -9,6 +9,7 @@ #include "imgIEncoder.h" #include "jsapi.h" #include "jsfriendapi.h" +#include "gfxImageSurface.h" #include "mozilla/Base64.h" #include "mozilla/CheckedInt.h" #include "mozilla/dom/CanvasRenderingContext2D.h"