Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
index 3d4d3afda16ebac6a325a474b94281b2bc0b6ebe..7e42e2a5ecdebb94131c186dcd6c6145c5bb778c 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
@@ -34,7 +34,6 @@ |
#include "core/html/canvas/CanvasRenderingContext2D.h" |
#include "CSSPropertyNames.h" |
-#include "HTMLNames.h" |
#include "RuntimeEnabledFeatures.h" |
#include "core/css/CSSFontSelector.h" |
#include "core/css/CSSParser.h" |
@@ -54,34 +53,25 @@ |
#include "core/html/canvas/CanvasStyle.h" |
#include "core/html/canvas/DOMPath.h" |
#include "core/loader/cache/CachedImage.h" |
-#include "core/page/Console.h" |
-#include "core/page/Page.h" |
-#include "core/page/Settings.h" |
-#include "core/platform/FloatConversion.h" |
#include "core/platform/graphics/DrawLooper.h" |
#include "core/platform/graphics/FloatQuad.h" |
#include "core/platform/graphics/FontCache.h" |
#include "core/platform/graphics/GraphicsContextStateSaver.h" |
#include "core/platform/graphics/TextRun.h" |
#include "core/platform/graphics/transforms/AffineTransform.h" |
-#include "core/rendering/RenderHTMLCanvas.h" |
#include "core/rendering/RenderLayer.h" |
-#include "weborigin/KURL.h" |
#include "weborigin/SecurityOrigin.h" |
-#include <wtf/CheckedArithmetic.h> |
-#include <wtf/MathExtras.h> |
-#include <wtf/OwnPtr.h> |
-#include <wtf/text/StringBuilder.h> |
-#include <wtf/Uint8ClampedArray.h> |
-#include <wtf/UnusedParam.h> |
+#include "wtf/CheckedArithmetic.h" |
+#include "wtf/MathExtras.h" |
+#include "wtf/OwnPtr.h" |
+#include "wtf/Uint8ClampedArray.h" |
+#include "wtf/text/StringBuilder.h" |
using namespace std; |
namespace WebCore { |
-using namespace HTMLNames; |
- |
static const int defaultFontSize = 10; |
static const char* const defaultFontFamily = "sans-serif"; |
static const char* const defaultFont = "10px sans-serif"; |