2011-01-19 Tony Gentilcore <tonyg@chromium.org>
authortonyg@chromium.org <tonyg@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jan 2011 23:13:26 +0000 (23:13 +0000)
committertonyg@chromium.org <tonyg@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jan 2011 23:13:26 +0000 (23:13 +0000)
        Reviewed by Mihai Parparita.

        Perform some forward declaration
        https://bugs.webkit.org/show_bug.cgi?id=52522

        No new tests because no new functionality.

        * accessibility/AccessibilityObject.h:
        * css/WebKitCSSMatrix.cpp:
        * html/HTMLAreaElement.cpp:
        * html/canvas/CanvasRenderingContext2D.cpp:
        * inspector/InspectorController.cpp:
        * platform/graphics/FloatPoint.cpp:
        * platform/graphics/Font.cpp:
        * platform/graphics/Font.h:
        * platform/graphics/FontFastPath.cpp:
        * platform/graphics/GraphicsContext.cpp:
        * platform/graphics/ImageBuffer.h:
        * platform/graphics/StringTruncator.cpp:
        * platform/graphics/WidthIterator.cpp:
        * platform/graphics/mac/ComplexTextController.cpp:
        * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
        * platform/graphics/mac/FontComplexTextMac.cpp:
        * platform/graphics/transforms/TransformationMatrix.cpp:
        * platform/graphics/transforms/TransformationMatrix.h:
        * rendering/EllipsisBox.cpp:
        * rendering/InlineTextBox.cpp:
        * rendering/RenderBlock.cpp:
        * rendering/RenderBlockLineLayout.cpp:
        * rendering/RenderEmbeddedObject.cpp:
        * rendering/RenderFileUploadControl.cpp:
        * rendering/RenderFlexibleBox.cpp:
        * rendering/RenderImage.cpp:
        * rendering/RenderListBox.cpp:
        * rendering/RenderListMarker.cpp:
        * rendering/RenderMenuList.cpp:
        * rendering/RenderObject.h:
        * rendering/RenderText.cpp:
        * rendering/RenderTextControl.cpp:
        * rendering/svg/SVGInlineTextBox.cpp:
        * rendering/svg/SVGMarkerLayoutInfo.h:
        * rendering/svg/SVGTextMetrics.cpp:
        * svg/SVGFont.cpp:
2011-01-19  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Mihai Parparita.

        Perform some forward declaration
        https://bugs.webkit.org/show_bug.cgi?id=52522

        * Misc/WebKitNSStringExtras.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@76170 268f45cc-cd09-0410-ab3c-d52691b4dbfc

52 files changed:
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityObject.h
Source/WebCore/css/WebKitCSSMatrix.cpp
Source/WebCore/html/HTMLAreaElement.cpp
Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp
Source/WebCore/inspector/InspectorController.cpp
Source/WebCore/platform/chromium/PopupMenuChromium.cpp
Source/WebCore/platform/graphics/FloatPoint.cpp
Source/WebCore/platform/graphics/Font.cpp
Source/WebCore/platform/graphics/Font.h
Source/WebCore/platform/graphics/FontFastPath.cpp
Source/WebCore/platform/graphics/GraphicsContext.cpp
Source/WebCore/platform/graphics/ImageBuffer.h
Source/WebCore/platform/graphics/StringTruncator.cpp
Source/WebCore/platform/graphics/WidthIterator.cpp
Source/WebCore/platform/graphics/ca/win/PlatformCALayerWinInternal.cpp
Source/WebCore/platform/graphics/chromium/ComplexTextControllerLinux.cpp
Source/WebCore/platform/graphics/gtk/FontGtk.cpp
Source/WebCore/platform/graphics/mac/ComplexTextController.cpp
Source/WebCore/platform/graphics/mac/ComplexTextControllerATSUI.cpp
Source/WebCore/platform/graphics/mac/ComplexTextControllerCoreText.cpp
Source/WebCore/platform/graphics/mac/FontComplexTextMac.cpp
Source/WebCore/platform/graphics/qt/FontQt.cpp
Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp
Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
Source/WebCore/platform/graphics/win/FontWin.cpp
Source/WebCore/platform/graphics/win/UniscribeController.cpp
Source/WebCore/platform/win/PopupMenuWin.cpp
Source/WebCore/platform/win/WebCoreTextRenderer.cpp
Source/WebCore/rendering/EllipsisBox.cpp
Source/WebCore/rendering/InlineTextBox.cpp
Source/WebCore/rendering/RenderBlock.cpp
Source/WebCore/rendering/RenderBlockLineLayout.cpp
Source/WebCore/rendering/RenderEmbeddedObject.cpp
Source/WebCore/rendering/RenderFileUploadControl.cpp
Source/WebCore/rendering/RenderFlexibleBox.cpp
Source/WebCore/rendering/RenderImage.cpp
Source/WebCore/rendering/RenderListBox.cpp
Source/WebCore/rendering/RenderListMarker.cpp
Source/WebCore/rendering/RenderMenuList.cpp
Source/WebCore/rendering/RenderObject.h
Source/WebCore/rendering/RenderText.cpp
Source/WebCore/rendering/RenderTextControl.cpp
Source/WebCore/rendering/svg/SVGInlineTextBox.cpp
Source/WebCore/rendering/svg/SVGMarkerLayoutInfo.h
Source/WebCore/rendering/svg/SVGTextMetrics.cpp
Source/WebCore/svg/SVGFEImageElement.cpp
Source/WebCore/svg/SVGFont.cpp
Source/WebKit/chromium/src/WebFontImpl.cpp
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/Misc/WebKitNSStringExtras.mm
Source/WebKit/win/WebCoreSupport/WebDragClient.cpp

index 3b44eea..06cda89 100644 (file)
@@ -1,3 +1,49 @@
+2011-01-19  Tony Gentilcore  <tonyg@chromium.org>
+
+        Reviewed by Mihai Parparita.
+
+        Perform some forward declaration
+        https://bugs.webkit.org/show_bug.cgi?id=52522
+
+        No new tests because no new functionality.
+
+        * accessibility/AccessibilityObject.h:
+        * css/WebKitCSSMatrix.cpp:
+        * html/HTMLAreaElement.cpp:
+        * html/canvas/CanvasRenderingContext2D.cpp:
+        * inspector/InspectorController.cpp:
+        * platform/graphics/FloatPoint.cpp:
+        * platform/graphics/Font.cpp:
+        * platform/graphics/Font.h:
+        * platform/graphics/FontFastPath.cpp:
+        * platform/graphics/GraphicsContext.cpp:
+        * platform/graphics/ImageBuffer.h:
+        * platform/graphics/StringTruncator.cpp:
+        * platform/graphics/WidthIterator.cpp:
+        * platform/graphics/mac/ComplexTextController.cpp:
+        * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
+        * platform/graphics/mac/FontComplexTextMac.cpp:
+        * platform/graphics/transforms/TransformationMatrix.cpp:
+        * platform/graphics/transforms/TransformationMatrix.h:
+        * rendering/EllipsisBox.cpp:
+        * rendering/InlineTextBox.cpp:
+        * rendering/RenderBlock.cpp:
+        * rendering/RenderBlockLineLayout.cpp:
+        * rendering/RenderEmbeddedObject.cpp:
+        * rendering/RenderFileUploadControl.cpp:
+        * rendering/RenderFlexibleBox.cpp:
+        * rendering/RenderImage.cpp:
+        * rendering/RenderListBox.cpp:
+        * rendering/RenderListMarker.cpp:
+        * rendering/RenderMenuList.cpp:
+        * rendering/RenderObject.h:
+        * rendering/RenderText.cpp:
+        * rendering/RenderTextControl.cpp:
+        * rendering/svg/SVGInlineTextBox.cpp:
+        * rendering/svg/SVGMarkerLayoutInfo.h:
+        * rendering/svg/SVGTextMetrics.cpp:
+        * svg/SVGFont.cpp:
+
 2011-01-19  Adrienne Walker  <enne@google.com>
 
         Reviewed by Kenneth Russell.
index 45b54fc..c8d887b 100644 (file)
@@ -31,7 +31,6 @@
 #define AccessibilityObject_h
 
 #include "IntRect.h"
-#include "Range.h"
 #include "VisiblePosition.h"
 #include "VisibleSelection.h"
 #include <wtf/Forward.h>
index 7d60f8c..14f6b4e 100644 (file)
@@ -32,7 +32,6 @@
 #include "CSSPropertyNames.h"
 #include "CSSValueKeywords.h"
 #include "ExceptionCode.h"
-#include "RenderStyle.h"
 #include <wtf/MathExtras.h>
 
 namespace WebCore {
index dc87ef6..ac4c865 100644 (file)
@@ -22,6 +22,7 @@
 #include "config.h"
 #include "HTMLAreaElement.h"
 
+#include "AffineTransform.h"
 #include "Attribute.h"
 #include "Frame.h"
 #include "HTMLImageElement.h"
index 2a45961..e029128 100644 (file)
@@ -57,6 +57,7 @@
 #include "Settings.h"
 #include "StrokeStyleApplier.h"
 #include "TextMetrics.h"
+#include "TextRun.h"
 
 #if ENABLE(ACCELERATED_2D_CANVAS)
 #include "Chrome.h"
index 8b6b6bf..56b15f0 100644 (file)
@@ -96,6 +96,7 @@
 #include "SharedBuffer.h"
 #include "TextEncoding.h"
 #include "TextIterator.h"
+#include "TextRun.h"
 #include "UserGestureIndicator.h"
 #include "WindowFeatures.h"
 #include <wtf/text/StringConcatenate.h>
index bb45e79..075cef0 100644 (file)
@@ -54,6 +54,7 @@
 #include "ScrollbarTheme.h"
 #include "StringTruncator.h"
 #include "SystemTime.h"
+#include "TextRun.h"
 #include "UserGestureIndicator.h"
 
 #include <wtf/CurrentTime.h>
index 7e85b52..226ae71 100644 (file)
@@ -27,6 +27,7 @@
 #include "config.h"
 #include "FloatPoint.h"
 
+#include "AffineTransform.h"
 #include "TransformationMatrix.h"
 #include "FloatConversion.h"
 #include "IntPoint.h"
index 887e21d..394de35 100644 (file)
@@ -29,6 +29,7 @@
 #include "FontTranscoder.h"
 #include "IntPoint.h"
 #include "GlyphBuffer.h"
+#include "TextRun.h"
 #include "WidthIterator.h"
 #include <wtf/MathExtras.h>
 #include <wtf/UnusedParam.h>
index 40a8828..2957c0a 100644 (file)
@@ -29,7 +29,6 @@
 #include "FontDescription.h"
 #include "FontFallbackList.h"
 #include "SimpleFontData.h"
-#include "TextRun.h"
 #include "TypesettingFeatures.h"
 #include <wtf/HashMap.h>
 #include <wtf/HashSet.h>
@@ -51,6 +50,7 @@ class GlyphBuffer;
 class GlyphPageTreeNode;
 class GraphicsContext;
 class SVGFontElement;
+class TextRun;
 
 struct GlyphData;
 
index 367c8a2..f927c13 100644 (file)
@@ -30,6 +30,7 @@
 #include "GlyphBuffer.h"
 #include "GlyphPageTreeNode.h"
 #include "SimpleFontData.h"
+#include "TextRun.h"
 #include "WidthIterator.h"
 
 #include <wtf/MathExtras.h>
index e7ea881..e05a578 100644 (file)
@@ -32,6 +32,7 @@
 #include "ImageBuffer.h"
 #include "IntRect.h"
 #include "RoundedIntRect.h"
+#include "TextRun.h"
 
 using namespace std;
 
index 338e3f8..c46cc90 100644 (file)
@@ -31,7 +31,7 @@
 #include "AffineTransform.h"
 #include "ColorSpace.h"
 #include "FloatRect.h"
-#include "Image.h"
+#include "GraphicsTypes.h"
 #include "IntSize.h"
 #include "ImageBufferData.h"
 #include <wtf/ByteArray.h>
@@ -39,6 +39,7 @@
 #include <wtf/OwnPtr.h>
 #include <wtf/PassOwnPtr.h>
 #include <wtf/PassRefPtr.h>
+#include <wtf/Vector.h>
 
 #if (PLATFORM(MAC) && PLATFORM(CA) && !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_SNOW_LEOPARD))
 #define WTF_USE_IOSURFACE_CANVAS_BACKING_STORE 1
@@ -47,6 +48,7 @@
 namespace WebCore {
 
     class GraphicsContext;
+    class Image;
     class ImageData;
     class IntPoint;
     class IntRect;
index b6c86ce..65325f0 100644 (file)
@@ -32,6 +32,7 @@
 #include "CharacterNames.h"
 #include "Font.h"
 #include "TextBreakIterator.h"
+#include "TextRun.h"
 #include <wtf/Assertions.h>
 #include <wtf/Vector.h>
 
index 2a951e8..412c86e 100644 (file)
@@ -25,6 +25,7 @@
 #include "Font.h"
 #include "GlyphBuffer.h"
 #include "SimpleFontData.h"
+#include "TextRun.h"
 #include <wtf/MathExtras.h>
 
 #if USE(ICU_UNICODE)
index fdf91db..4d6f509 100644 (file)
@@ -38,6 +38,7 @@
 #include "GraphicsContext.h"
 #include "NotImplemented.h"
 #include "SimpleFontData.h"
+#include "TextRun.h"
 #include <cairo.h>
 #include <gdk/gdk.h>
 #include <pango/pango.h>
index 206fd5f..86f6bec 100644 (file)
@@ -30,6 +30,7 @@
 #include "FloatSize.h"
 #include "Font.h"
 #include "TextBreakIterator.h"
+#include "TextRun.h"
 
 #include <wtf/StdLibExtras.h>
 
index c24a914..9c2ab6b 100644 (file)
@@ -28,6 +28,7 @@
 #include "CharacterNames.h"
 #include "Font.h"
 #include "ShapeArabic.h"
+#include "TextRun.h"
 
 #ifdef __LP64__
 // ATSUTextInserted() is SPI in 64-bit.
index 42e7897..07fb153 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "config.h"
 #include "ComplexTextController.h"
+#include "TextRun.h"
 #include "WebCoreSystemInterface.h"
 
 #if USE(CORE_TEXT)
index ca006d9..02bac9c 100644 (file)
@@ -31,6 +31,7 @@
 #include "GraphicsContext.h"
 #include "IntRect.h"
 #include "SimpleFontData.h"
+#include "TextRun.h"
 #include <wtf/MathExtras.h>
 
 using namespace std;
index f1ced2b..778a13f 100644 (file)
@@ -31,6 +31,7 @@
 #include "GraphicsContext.h"
 #include "NotImplemented.h"
 #include "Pattern.h"
+#include "TextRun.h"
 
 #include <QBrush>
 #include <QFontInfo>
index 10c7f70..357a140 100644 (file)
@@ -27,6 +27,7 @@
 #include "config.h"
 #include "TransformationMatrix.h"
 
+#include "AffineTransform.h"
 #include "FloatPoint3D.h"
 #include "FloatRect.h"
 #include "FloatQuad.h"
index f13bcc1..684b14c 100644 (file)
@@ -26,7 +26,6 @@
 #ifndef TransformationMatrix_h
 #define TransformationMatrix_h
 
-#include "AffineTransform.h"
 #include "FloatPoint.h"
 #include "IntPoint.h"
 #include <string.h> //for memcpy
index 2170954..2ed9eb3 100644 (file)
@@ -32,6 +32,7 @@
 #include "IntRect.h"
 #include "Logging.h"
 #include "SimpleFontData.h"
+#include "TextRun.h"
 #include "UniscribeController.h"
 #include <wtf/MathExtras.h>
 
index ab32150..dac6c3e 100644 (file)
@@ -27,6 +27,7 @@
 #include "UniscribeController.h"
 #include "Font.h"
 #include "SimpleFontData.h"
+#include "TextRun.h"
 #include <wtf/MathExtras.h>
 
 using namespace std;
index e86aef9..88c9a4f 100644 (file)
@@ -40,6 +40,7 @@
 #include "Scrollbar.h"
 #include "ScrollbarTheme.h"
 #include "SimpleFontData.h"
+#include "TextRun.h"
 #include "WebCoreInstanceHandle.h"
 #include <tchar.h>
 #include <windows.h>
index a32fa4f..e96ba31 100644 (file)
@@ -29,6 +29,7 @@
 #include "FontDescription.h"
 #include "GraphicsContext.h"
 #include "StringTruncator.h"
+#include "TextRun.h"
 #include <wtf/unicode/Unicode.h>
 
 namespace WebCore {
index 39fa205..d367c07 100644 (file)
@@ -25,6 +25,7 @@
 #include "HitTestResult.h"
 #include "PaintInfo.h"
 #include "RootInlineBox.h"
+#include "TextRun.h"
 
 namespace WebCore {
 
index 9d993e7..71a3758 100644 (file)
@@ -40,6 +40,7 @@
 #include "RenderRubyText.h"
 #include "RenderTheme.h"
 #include "Text.h"
+#include "TextRun.h"
 #include "break_lines.h"
 #include <wtf/AlwaysInline.h>
 
index 3dffff6..fa48907 100644 (file)
@@ -48,6 +48,7 @@
 #include "RenderView.h"
 #include "SelectionController.h"
 #include "Settings.h"
+#include "TextRun.h"
 #include "TransformState.h"
 #include <wtf/StdLibExtras.h>
 
index 8960dea..5dc49e2 100644 (file)
@@ -34,6 +34,7 @@
 #include "RenderListMarker.h"
 #include "RenderView.h"
 #include "Settings.h"
+#include "TextRun.h"
 #include "TrailingFloatsRootInlineBox.h"
 #include "VerticalPositionCache.h"
 #include "break_lines.h"
index ac72fe1..5486d51 100644 (file)
@@ -49,6 +49,7 @@
 #include "RenderWidgetProtector.h"
 #include "Settings.h"
 #include "Text.h"
+#include "TextRun.h"
 
 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
 #include "HTMLVideoElement.h"
index 3e4d216..aec55a8 100644 (file)
@@ -37,6 +37,7 @@
 #include "RenderText.h"
 #include "RenderTheme.h"
 #include "RenderView.h"
+#include "TextRun.h"
 #include <math.h>
 
 using namespace std;
index 63c9dbb..15362d6 100644 (file)
@@ -28,6 +28,7 @@
 #include "CharacterNames.h"
 #include "RenderLayer.h"
 #include "RenderView.h"
+#include "TextRun.h"
 #include <wtf/StdLibExtras.h>
 
 using namespace std;
index ef2308b..16a273b 100644 (file)
@@ -41,6 +41,7 @@
 #include "RenderTheme.h"
 #include "RenderView.h"
 #include "SelectionController.h"
+#include "TextRun.h"
 #include <wtf/CurrentTime.h>
 #include <wtf/UnusedParam.h>
 
index e0cd0af..6c2f13e 100644 (file)
@@ -43,6 +43,7 @@
 #include "GraphicsContext.h"
 #include "HTMLNames.h"
 #include "HitTestResult.h"
+#include "NodeRenderStyle.h"
 #include "OptionGroupElement.h"
 #include "OptionElement.h"
 #include "Page.h"
@@ -54,7 +55,7 @@
 #include "ScrollbarTheme.h"
 #include "SelectElement.h"
 #include "SelectionController.h"
-#include "NodeRenderStyle.h"
+#include "TextRun.h"
 #include <math.h>
 
 using namespace std;
index 71b1eae..cd41c75 100644 (file)
@@ -32,6 +32,7 @@
 #include "RenderLayer.h"
 #include "RenderListItem.h"
 #include "RenderView.h"
+#include "TextRun.h"
 
 using namespace std;
 using namespace WTF;
index 61f1084..8b98370 100644 (file)
@@ -39,6 +39,7 @@
 #include "RenderScrollbar.h"
 #include "RenderTheme.h"
 #include "SelectElement.h"
+#include "TextRun.h"
 #include <math.h>
 
 using namespace std;
index cf08a0d..f2e7f13 100644 (file)
@@ -26,7 +26,6 @@
 #ifndef RenderObject_h
 #define RenderObject_h
 
-#include "AffineTransform.h"
 #include "CachedResourceClient.h"
 #include "Document.h"
 #include "Element.h"
@@ -44,6 +43,7 @@
 
 namespace WebCore {
 
+class AffineTransform;
 class AnimationController;
 class HitTestResult;
 class InlineBox;
index 0d1bd91..58c41ab 100644 (file)
@@ -40,6 +40,7 @@
 #include "Text.h"
 #include "TextBreakIterator.h"
 #include "TextResourceDecoder.h"
+#include "TextRun.h"
 #include "VisiblePosition.h"
 #include "break_lines.h"
 #include <wtf/AlwaysInline.h>
index 40aa4c2..cac8113 100644 (file)
@@ -41,6 +41,7 @@
 #include "Text.h"
 #include "TextControlInnerElements.h"
 #include "TextIterator.h"
+#include "TextRun.h"
 
 using namespace std;
 
index f370310..2879f20 100644 (file)
@@ -31,6 +31,7 @@
 #include "RenderSVGResource.h"
 #include "RenderSVGResourceSolidColor.h"
 #include "SVGRootInlineBox.h"
+#include "TextRun.h"
 
 using namespace std;
 
index 0eb3689..5e75f0b 100644 (file)
@@ -21,6 +21,7 @@
 #define SVGMarkerLayoutInfo_h
 
 #if ENABLE(SVG)
+#include "AffineTransform.h"
 #include "RenderObject.h"
 #include "SVGMarkerData.h"
 #include <wtf/Noncopyable.h>
index 58d0ad9..ec8c2c6 100644 (file)
@@ -23,6 +23,7 @@
 #include "SVGTextMetrics.h"
 
 #include "RenderSVGInlineText.h"
+#include "TextRun.h"
 
 namespace WebCore {
 
index 04ea14c..0fd4763 100644 (file)
@@ -29,6 +29,7 @@
 #include "CachedResourceLoader.h"
 #include "ColorSpace.h"
 #include "Document.h"
+#include "Image.h"
 #include "RenderObject.h"
 #include "RenderSVGResource.h"
 #include "SVGImageBufferTools.h"
index dd99ac5..e5164c0 100644 (file)
@@ -36,6 +36,7 @@
 #include "SVGMissingGlyphElement.h"
 #include "SVGNames.h"
 #include "SimpleFontData.h"
+#include "TextRun.h"
 #include "XMLNames.h"
 
 using namespace WTF::Unicode;
index 8c61997..e1fa0e7 100644 (file)
@@ -35,6 +35,7 @@
 #include "FontDescription.h"
 #include "GraphicsContext.h"
 #include "PlatformContextSkia.h"
+#include "TextRun.h"
 #include "WebFloatPoint.h"
 #include "WebFloatRect.h"
 #include "WebFontDescription.h"
index 974caec..50f2cdb 100644 (file)
@@ -1,3 +1,12 @@
+2011-01-19  Tony Gentilcore  <tonyg@chromium.org>
+
+        Reviewed by Mihai Parparita.
+
+        Perform some forward declaration
+        https://bugs.webkit.org/show_bug.cgi?id=52522
+
+        * Misc/WebKitNSStringExtras.mm:
+
 2011-01-19  Pavel Podivilov  <podivilov@chromium.org>
 
         Reviewed by Yury Semikhatsky.
index 4bf268c..a997e30 100644 (file)
@@ -30,6 +30,7 @@
 
 #import <WebCore/Font.h>
 #import <WebCore/GraphicsContext.h>
+#import <WebCore/TextRun.h>
 #import <WebCore/WebCoreNSStringExtras.h>
 #import <WebKit/WebNSFileManagerExtras.h>
 #import <WebKit/WebNSObjectExtras.h>
index f4d9842..184df95 100644 (file)
@@ -43,6 +43,7 @@
 #include <WebCore/Page.h>
 #include <WebCore/Settings.h>
 #include <WebCore/StringTruncator.h>
+#include <WebCore/TextRun.h>
 #include <WebCore/WebCoreTextRenderer.h>
 #pragma warning(pop)