[webkit-changes] cvs commit: WebCore/khtml/editing htmlediting.cpp

David hyatt at opensource.apple.com
Sat Jul 30 00:20:10 PDT 2005


hyatt       05/07/30 00:20:10

  Modified:    khtml/editing htmlediting.cpp
  Log:
  Fix build bustage.
  
  Revision  Changes    Path
  1.255     +3 -4      WebCore/khtml/editing/htmlediting.cpp
  
  Index: htmlediting.cpp
  ===================================================================
  RCS file: /cvs/root/WebCore/khtml/editing/htmlediting.cpp,v
  retrieving revision 1.254
  retrieving revision 1.255
  diff -u -r1.254 -r1.255
  --- htmlediting.cpp	30 Jul 2005 02:33:14 -0000	1.254
  +++ htmlediting.cpp	30 Jul 2005 07:20:09 -0000	1.255
  @@ -71,7 +71,6 @@
   using DOM::DoNotUpdateLayout;
   using DOM::EditingTextImpl;
   using DOM::ElementImpl;
  -using DOM::HTMLAttributes;
   using DOM::HTMLElementImpl;
   using DOM::HTMLImageElementImpl;
   using DOM::NamedAttrMapImpl;
  @@ -311,10 +310,10 @@
   {
       // make the span to hold the tab
       int exceptionCode = 0;
  -    ElementImpl *spanElement = document->createElementNS(HTMLTags::xhtmlNamespaceURI(), "span", exceptionCode);
  +    ElementImpl *spanElement = document->createElementNS(xhtmlNamespaceURI, "span", exceptionCode);
       assert(exceptionCode == 0);
  -    spanElement->setAttribute(HTMLAttributes::classAttr(), AppleTabSpanClass);
  -    spanElement->setAttribute(HTMLAttributes::style(), "white-space:pre");
  +    spanElement->setAttribute(classAttr, AppleTabSpanClass);
  +    spanElement->setAttribute(styleAttr, "white-space:pre");
   
       // add tab text to that span
       if (!tabTextNode)
  
  
  



More information about the webkit-changes mailing list