Changeset 62129 in webkit
- Timestamp:
- Jun 29, 2010 10:03:49 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r62128 r62129 1 2010-06-29 Csaba Osztrogonác <ossy@webkit.org> 2 3 Reviewed by Nikolas Zimmermann. 4 5 Buildfix for --minimal build after r62052 6 https://bugs.webkit.org/show_bug.cgi?id=41338 7 8 * bindings/js/ScriptEventListener.cpp: #if ENABLE(SVG) guards added. 9 (WebCore::createWindowAttributeEventListener): 10 1 11 2010-06-29 Brent Fulgham <bfulgham@webkit.org> 2 12 -
trunk/WebCore/bindings/js/ScriptEventListener.cpp
r62052 r62129 34 34 #include "Attribute.h" 35 35 #include "Document.h" 36 #include "Element.h" 36 37 #include "EventListener.h" 37 38 #include "Frame.h" 38 39 #include "HTMLNames.h" 39 40 #include "JSNode.h" 41 #if ENABLE(SVG) 40 42 #include "SVGNames.h" 43 #endif 41 44 #include "XSSAuditor.h" 42 45 #include <runtime/JSLock.h> … … 83 86 PassRefPtr<JSLazyEventListener> createWindowAttributeEventListener(Element* windowEquivalentElement, Attribute* attr) 84 87 { 88 #if ENABLE(SVG) 85 89 ASSERT(windowEquivalentElement->hasTagName(HTMLNames::bodyTag) || windowEquivalentElement->hasTagName(HTMLNames::framesetTag) || windowEquivalentElement->hasTagName(SVGNames::svgTag)); 86 90 #else 91 ASSERT(windowEquivalentElement->hasTagName(HTMLNames::bodyTag) || windowEquivalentElement->hasTagName(HTMLNames::framesetTag)); 92 #endif 87 93 Frame* frame = windowEquivalentElement->document()->frame(); 88 94 if (!frame)
Note: See TracChangeset
for help on using the changeset viewer.