summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfs@opera.com <fs@opera.com>2014-09-24 16:58:35 +0000
committerfs@opera.com <fs@opera.com>2014-09-24 16:58:35 +0000
commit12fbb1598a94dd0d8d450139c661a4669479dba5 (patch)
tree6fe691f5bf2b4e4885694789467dda75580f46ec
parent669ed1970b49166cd6c9373a8b704014e5115c70 (diff)
downloadchromium_src-12fbb1598a94dd0d8d450139c661a4669479dba5.zip
chromium_src-12fbb1598a94dd0d8d450139c661a4669479dba5.tar.gz
chromium_src-12fbb1598a94dd0d8d450139c661a4669479dba5.tar.bz2
Remove unused headers from RenderSVGResource.h
Fix fallout and do some (very minor) drive-by fixing. Review URL: https://codereview.chromium.org/601833002 git-svn-id: svn://svn.chromium.org/blink/trunk@182614 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-rw-r--r--third_party/WebKit/Source/core/rendering/svg/RenderSVGResource.h3
-rw-r--r--third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceContainer.h1
-rw-r--r--third_party/WebKit/Source/core/rendering/svg/SVGRenderingContext.cpp1
-rw-r--r--third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp5
-rw-r--r--third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp2
-rw-r--r--third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp2
-rw-r--r--third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp2
-rw-r--r--third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp4
-rw-r--r--third_party/WebKit/Source/core/svg/SVGFEImageElement.h4
-rw-r--r--third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp4
-rw-r--r--third_party/WebKit/Source/core/svg/SVGLineElement.cpp2
-rw-r--r--third_party/WebKit/Source/core/svg/SVGPathElement.cpp2
-rw-r--r--third_party/WebKit/Source/core/svg/SVGPolyElement.cpp2
-rw-r--r--third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp2
14 files changed, 18 insertions, 18 deletions
diff --git a/third_party/WebKit/Source/core/rendering/svg/RenderSVGResource.h b/third_party/WebKit/Source/core/rendering/svg/RenderSVGResource.h
index bc5908a..70f7931 100644
--- a/third_party/WebKit/Source/core/rendering/svg/RenderSVGResource.h
+++ b/third_party/WebKit/Source/core/rendering/svg/RenderSVGResource.h
@@ -20,9 +20,6 @@
#ifndef RenderSVGResource_h
#define RenderSVGResource_h
-#include "core/rendering/svg/RenderSVGShape.h"
-#include "core/svg/SVGDocumentExtensions.h"
-
namespace blink {
enum RenderSVGResourceType {
diff --git a/third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceContainer.h b/third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceContainer.h
index 45078b3..e7a8a5f 100644
--- a/third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceContainer.h
+++ b/third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceContainer.h
@@ -22,6 +22,7 @@
#include "core/rendering/svg/RenderSVGHiddenContainer.h"
#include "core/rendering/svg/RenderSVGResource.h"
+#include "core/svg/SVGDocumentExtensions.h"
namespace blink {
diff --git a/third_party/WebKit/Source/core/rendering/svg/SVGRenderingContext.cpp b/third_party/WebKit/Source/core/rendering/svg/SVGRenderingContext.cpp
index 650f81f..d6c68e4 100644
--- a/third_party/WebKit/Source/core/rendering/svg/SVGRenderingContext.cpp
+++ b/third_party/WebKit/Source/core/rendering/svg/SVGRenderingContext.cpp
@@ -37,6 +37,7 @@
#include "core/rendering/svg/RenderSVGResourceMasker.h"
#include "core/rendering/svg/SVGResources.h"
#include "core/rendering/svg/SVGResourcesCache.h"
+#include "platform/FloatConversion.h"
static int kMaxImageBufferSize = 4096;
diff --git a/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp
index 3429b93..1e0be54 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp
@@ -18,16 +18,17 @@
*/
#include "config.h"
-
#include "core/svg/SVGFEConvolveMatrixElement.h"
#include "core/SVGNames.h"
-#include "platform/graphics/filters/FilterEffect.h"
+#include "core/dom/Document.h"
+#include "core/svg/SVGDocumentExtensions.h"
#include "core/svg/SVGParserUtilities.h"
#include "core/svg/graphics/filters/SVGFilterBuilder.h"
#include "platform/geometry/FloatPoint.h"
#include "platform/geometry/IntPoint.h"
#include "platform/geometry/IntSize.h"
+#include "platform/graphics/filters/FilterEffect.h"
namespace blink {
diff --git a/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp
index 292c3b3..a5199ac 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp
@@ -18,9 +18,9 @@
*/
#include "config.h"
-
#include "core/svg/SVGFEDiffuseLightingElement.h"
+#include "core/rendering/RenderObject.h"
#include "core/rendering/style/RenderStyle.h"
#include "core/svg/SVGParserUtilities.h"
#include "core/svg/graphics/filters/SVGFilterBuilder.h"
diff --git a/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp
index d542cbd..f424bd6 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp
@@ -18,10 +18,10 @@
*/
#include "config.h"
-
#include "core/svg/SVGFEDropShadowElement.h"
#include "core/SVGNames.h"
+#include "core/rendering/RenderObject.h"
#include "core/rendering/style/RenderStyle.h"
#include "core/rendering/style/SVGRenderStyle.h"
#include "core/svg/SVGParserUtilities.h"
diff --git a/third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp
index 96f6870..da69b87 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp
@@ -19,10 +19,10 @@
*/
#include "config.h"
-
#include "core/svg/SVGFEFloodElement.h"
#include "core/SVGNames.h"
+#include "core/rendering/RenderObject.h"
#include "core/rendering/style/RenderStyle.h"
#include "core/rendering/style/SVGRenderStyle.h"
diff --git a/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
index 1c2e80c..5019b6b 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
@@ -20,7 +20,6 @@
*/
#include "config.h"
-
#include "core/svg/SVGFEImageElement.h"
#include "core/XLinkNames.h"
@@ -28,8 +27,11 @@
#include "core/fetch/FetchRequest.h"
#include "core/fetch/ResourceFetcher.h"
#include "core/rendering/svg/RenderSVGResource.h"
+#include "core/svg/SVGDocumentExtensions.h"
#include "core/svg/SVGPreserveAspectRatio.h"
+#include "core/svg/graphics/filters/SVGFEImage.h"
#include "platform/graphics/Image.h"
+#include "platform/graphics/ImageBuffer.h"
namespace blink {
diff --git a/third_party/WebKit/Source/core/svg/SVGFEImageElement.h b/third_party/WebKit/Source/core/svg/SVGFEImageElement.h
index d797863..d7ca8f8 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEImageElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGFEImageElement.h
@@ -23,13 +23,11 @@
#include "core/SVGNames.h"
#include "core/fetch/ImageResource.h"
+#include "core/fetch/ImageResourceClient.h"
#include "core/fetch/ResourcePtr.h"
-#include "core/svg/SVGAnimatedBoolean.h"
#include "core/svg/SVGAnimatedPreserveAspectRatio.h"
#include "core/svg/SVGFilterPrimitiveStandardAttributes.h"
#include "core/svg/SVGURIReference.h"
-#include "core/svg/graphics/filters/SVGFEImage.h"
-#include "platform/graphics/ImageBuffer.h"
namespace blink {
diff --git a/third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp b/third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp
index 5eea0be..c105238 100644
--- a/third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp
@@ -20,13 +20,13 @@
*/
#include "config.h"
-
#include "core/svg/SVGFESpecularLightingElement.h"
-#include "platform/graphics/filters/FilterEffect.h"
+#include "core/rendering/RenderObject.h"
#include "core/rendering/style/RenderStyle.h"
#include "core/svg/SVGParserUtilities.h"
#include "core/svg/graphics/filters/SVGFilterBuilder.h"
+#include "platform/graphics/filters/FilterEffect.h"
namespace blink {
diff --git a/third_party/WebKit/Source/core/svg/SVGLineElement.cpp b/third_party/WebKit/Source/core/svg/SVGLineElement.cpp
index 27888cf..202d893 100644
--- a/third_party/WebKit/Source/core/svg/SVGLineElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGLineElement.cpp
@@ -19,10 +19,10 @@
*/
#include "config.h"
-
#include "core/svg/SVGLineElement.h"
#include "core/rendering/svg/RenderSVGResource.h"
+#include "core/rendering/svg/RenderSVGShape.h"
#include "core/svg/SVGLength.h"
namespace blink {
diff --git a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
index 80729d8..20ec252 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
@@ -19,11 +19,11 @@
*/
#include "config.h"
-
#include "core/svg/SVGPathElement.h"
#include "core/rendering/svg/RenderSVGPath.h"
#include "core/rendering/svg/RenderSVGResource.h"
+#include "core/svg/SVGDocumentExtensions.h"
#include "core/svg/SVGMPathElement.h"
#include "core/svg/SVGPathSegArcAbs.h"
#include "core/svg/SVGPathSegArcRel.h"
diff --git a/third_party/WebKit/Source/core/svg/SVGPolyElement.cpp b/third_party/WebKit/Source/core/svg/SVGPolyElement.cpp
index 823084e..52daa157 100644
--- a/third_party/WebKit/Source/core/svg/SVGPolyElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPolyElement.cpp
@@ -19,10 +19,10 @@
*/
#include "config.h"
-
#include "core/svg/SVGPolyElement.h"
#include "core/rendering/svg/RenderSVGResource.h"
+#include "core/rendering/svg/RenderSVGShape.h"
#include "core/svg/SVGAnimatedPointList.h"
#include "core/svg/SVGParserUtilities.h"
diff --git a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
index ba88c8a..f2decf8 100644
--- a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
@@ -19,12 +19,12 @@
*/
#include "config.h"
-
#include "core/svg/SVGTextPathElement.h"
#include "core/XLinkNames.h"
#include "core/rendering/svg/RenderSVGResource.h"
#include "core/rendering/svg/RenderSVGTextPath.h"
+#include "core/svg/SVGDocumentExtensions.h"
namespace blink {