Title: [137022] trunk/Source/WebCore
- Revision
- 137022
- Author
- [email protected]
- Date
- 2012-12-08 02:01:24 -0800 (Sat, 08 Dec 2012)
Log Message
Build fix for ENABLE(SVG) && !ENABLE(FILTERS) after r136975.
* rendering/svg/SVGResources.cpp:
(WebCore::SVGResources::buildCachedResources):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (137021 => 137022)
--- trunk/Source/WebCore/ChangeLog 2012-12-08 09:22:06 UTC (rev 137021)
+++ trunk/Source/WebCore/ChangeLog 2012-12-08 10:01:24 UTC (rev 137022)
@@ -1,3 +1,10 @@
+2012-12-08 Patrick Gansterer <[email protected]>
+
+ Build fix for ENABLE(SVG) && !ENABLE(FILTERS) after r136975.
+
+ * rendering/svg/SVGResources.cpp:
+ (WebCore::SVGResources::buildCachedResources):
+
2012-12-08 Adam Klein <[email protected]>
HTMLTemplateElement.innerHTML should be parsed into the template contents owner document
Modified: trunk/Source/WebCore/rendering/svg/SVGResources.cpp (137021 => 137022)
--- trunk/Source/WebCore/rendering/svg/SVGResources.cpp 2012-12-08 09:22:06 UTC (rev 137021)
+++ trunk/Source/WebCore/rendering/svg/SVGResources.cpp 2012-12-08 10:01:24 UTC (rev 137022)
@@ -191,6 +191,7 @@
Node* node = object->node();
ASSERT(node);
if (!node->isSVGElement()) {
+#if ENABLE(FILTERS)
Document* document = object->document();
ASSERT(document);
@@ -199,6 +200,9 @@
AtomicString id(style->filterResource());
return setFilter(getRenderSVGResourceById<RenderSVGResourceFilter>(document, id));
+#else
+ return false;
+#endif
}
ASSERT(node->isSVGElement());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes