Changeset 62129 in webkit


Ignore:
Timestamp:
Jun 29, 2010 10:03:49 AM (14 years ago)
Author:
Csaba Osztrogonác
Message:

2010-06-29 Csaba Osztrogonác <Csaba Osztrogonác>

Reviewed by Nikolas Zimmermann.

Buildfix for --minimal build after r62052
https://bugs.webkit.org/show_bug.cgi?id=41338

  • bindings/js/ScriptEventListener.cpp: #if ENABLE(SVG) guards added. (WebCore::createWindowAttributeEventListener):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r62128 r62129  
     12010-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
    1112010-06-29  Brent Fulgham  <bfulgham@webkit.org>
    212
  • trunk/WebCore/bindings/js/ScriptEventListener.cpp

    r62052 r62129  
    3434#include "Attribute.h"
    3535#include "Document.h"
     36#include "Element.h"
    3637#include "EventListener.h"
    3738#include "Frame.h"
    3839#include "HTMLNames.h"
    3940#include "JSNode.h"
     41#if ENABLE(SVG)
    4042#include "SVGNames.h"
     43#endif
    4144#include "XSSAuditor.h"
    4245#include <runtime/JSLock.h>
     
    8386PassRefPtr<JSLazyEventListener> createWindowAttributeEventListener(Element* windowEquivalentElement, Attribute* attr)
    8487{
     88#if ENABLE(SVG)
    8589    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
    8793    Frame* frame = windowEquivalentElement->document()->frame();
    8894    if (!frame)
Note: See TracChangeset for help on using the changeset viewer.