Unreviewed, rolling out r137022.
authorsenorblanco@chromium.org <senorblanco@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Dec 2012 14:54:57 +0000 (14:54 +0000)
committersenorblanco@chromium.org <senorblanco@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Dec 2012 14:54:57 +0000 (14:54 +0000)
http://trac.webkit.org/changeset/137022

Precursor to rollout of 136975.

* rendering/svg/SVGResources.cpp:
(WebCore::SVGResources::buildCachedResources):

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/svg/SVGResources.cpp

index 47ca2be..92ba6ba 100644 (file)
@@ -1,5 +1,15 @@
 2012-12-12  Stephen White  <senorblanco@chromium.org>
 
+        Unreviewed, rolling out r137022.
+        http://trac.webkit.org/changeset/137022
+
+        Precursor to rollout of 136975.
+
+        * rendering/svg/SVGResources.cpp:
+        (WebCore::SVGResources::buildCachedResources):
+
+2012-12-12  Stephen White  <senorblanco@chromium.org>
+
         Unreviewed, rolling out r137027.
         http://trac.webkit.org/changeset/137027
 
index 47d89d8..9ba3c57 100644 (file)
@@ -191,7 +191,6 @@ bool SVGResources::buildCachedResources(const RenderObject* object, const SVGRen
     Node* node = object->node();
     ASSERT(node);
     if (!node->isSVGElement()) {
-#if ENABLE(FILTERS)
         Document* document = object->document();
         ASSERT(document);
 
@@ -200,9 +199,6 @@ bool SVGResources::buildCachedResources(const RenderObject* object, const SVGRen
 
         AtomicString id(style->filterResource());
         return setFilter(getRenderSVGResourceById<RenderSVGResourceFilter>(document, id));
-#else
-        return false;
-#endif
     }
 
     ASSERT(node->isSVGElement());