Commit 36411e5a authored by kevino@webkit.org's avatar kevino@webkit.org

!ENABLE(SVG) build fix.


git-svn-id: svn://svn.chromium.org/blink/trunk@42715 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent e0a82aa9
2009-04-21 Kevin Ollivier <kevino@theolliviers.com>
!ENABLE(SVG) build fix.
* bindings/js/JSLazyEventListener.cpp:
(WebCore::eventParameterName):
2009-04-21 Dave Moore <davemoore@google.com> 2009-04-21 Dave Moore <davemoore@google.com>
Reviewed by Dimitri Glazkov. Reviewed by Dimitri Glazkov.
...@@ -39,8 +39,9 @@ static const String& eventParameterName(bool isSVGEvent) ...@@ -39,8 +39,9 @@ static const String& eventParameterName(bool isSVGEvent)
DEFINE_STATIC_LOCAL(const String, eventString, ("event")); DEFINE_STATIC_LOCAL(const String, eventString, ("event"));
#if ENABLE(SVG) #if ENABLE(SVG)
DEFINE_STATIC_LOCAL(const String, evtString, ("evt")); DEFINE_STATIC_LOCAL(const String, evtString, ("evt"));
#endif
return isSVGEvent ? evtString : eventString; return isSVGEvent ? evtString : eventString;
#endif
return eventString;
} }
JSLazyEventListener::JSLazyEventListener(const String& functionName, const String& eventParameterName, const String& code, JSDOMGlobalObject* globalObject, Node* node, int lineNumber) JSLazyEventListener::JSLazyEventListener(const String& functionName, const String& eventParameterName, const String& code, JSDOMGlobalObject* globalObject, Node* node, int lineNumber)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment