Reviewed by mitzpettel.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=11020
No-SVG build broken since r16549
Change #if SVG_SUPPORT to #ifdef SVG_SUPPORT
* css/cssparser.cpp:
(WebCore::CSSParser::parseValue):
* css/cssstyleselector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
* page/FrameView.cpp:
(WebCore::selectCursor):
* platform/qt/GraphicsContextQt.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16571
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-09-26 Graham Dennis <graham.dennis@gmail.com>
+
+ Reviewed by mitzpettel.
+
+ - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=11020
+ No-SVG build broken since r16549
+
+ Change #if SVG_SUPPORT to #ifdef SVG_SUPPORT
+
+ * css/cssparser.cpp:
+ (WebCore::CSSParser::parseValue):
+ * css/cssstyleselector.cpp:
+ (WebCore::CSSStyleSelector::applyProperty):
+ * page/FrameView.cpp:
+ (WebCore::selectCursor):
+ * platform/qt/GraphicsContextQt.cpp:
+
2006-09-26 Anders Carlsson <acarlsson@apple.com>
Reviewed by Maciej.
} else if(strict && nrcoords == 2)
hotspot = IntPoint(coords[0], coords[1]);
if (strict || coords.size() == 0) {
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
if (uri.startsWith("#")) {
if (!list)
list = new CSSValueList;
primitiveValue = static_cast<CSSPrimitiveValue*>(item);
int type = primitiveValue->primitiveType();
if (type == CSSPrimitiveValue::CSS_URI) {
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
if (primitiveValue->getStringValue().find("#") == 0)
style->addSVGCursor(primitiveValue->getStringValue().substring(1));
else
#include "SelectionController.h"
#include "cssstyleselector.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "XLinkNames.h"
#include "SVGNames.h"
#include "SVGCursorElement.h"
using namespace EventNames;
using namespace HTMLNames;
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
using namespace SVGNames;
#endif
for (unsigned i = 0; i < cursors->size(); ++i) {
CachedImage* cimage = (*cursors)[i].cursorImage;
IntPoint hotSpot = (*cursors)[i].hotSpot;
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
if (!cimage) {
Element* e = node->document()->getElementById((*cursors)[i].cursorFragmentId);
if (e && e->hasTagName(cursorTag)) {
#define M_PI 3.14159265358979323846
#endif
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KRenderingDeviceQt.h"
#endif
m_data->p().setMatrix(transform, true);
}
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
KRenderingDeviceContext* GraphicsContext::createRenderingDeviceContext()
{
return new KRenderingDeviceContextQt(platformContext());