[webkit-changes] cvs commit: WebCore/khtml/css css_valueimpl.cpp

Darin darin at opensource.apple.com
Sat Aug 6 09:33:03 PDT 2005


darin       05/08/06 09:33:03

  Modified:    .        ChangeLog
               khtml/css css_valueimpl.cpp
  Log:
          Reviewed by Dave Hyatt.
  
          * khtml/css/css_valueimpl.cpp: (DOM::CSSMutableStyleDeclarationImpl::setChanged): Small tweak.
  
  Revision  Changes    Path
  1.4534    +6 -0      WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.4533
  retrieving revision 1.4534
  diff -u -r1.4533 -r1.4534
  --- ChangeLog	6 Aug 2005 16:30:10 -0000	1.4533
  +++ ChangeLog	6 Aug 2005 16:32:59 -0000	1.4534
  @@ -2,6 +2,12 @@
   
           Reviewed by Dave Hyatt.
   
  +        * khtml/css/css_valueimpl.cpp: (DOM::CSSMutableStyleDeclarationImpl::setChanged): Small tweak.
  +
  +2005-08-06  Darin Adler  <darin at apple.com>
  +
  +        Reviewed by Dave Hyatt.
  +
           - fixed crash in one of the W3C DOM tests
   
           * khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::dispatchEvent): Check for NULL which means
  
  
  
  1.73      +1 -2      WebCore/khtml/css/css_valueimpl.cpp
  
  Index: css_valueimpl.cpp
  ===================================================================
  RCS file: /cvs/root/WebCore/khtml/css/css_valueimpl.cpp,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- css_valueimpl.cpp	28 Jul 2005 22:52:50 -0000	1.72
  +++ css_valueimpl.cpp	6 Aug 2005 16:33:02 -0000	1.73
  @@ -409,8 +409,7 @@
   
       // ### quick&dirty hack for KDE 3.0... make this MUCH better! (Dirk)
       StyleBaseImpl *root = this;
  -    StyleBaseImpl *parent;
  -    while ( ( parent = root->parent()) )
  +    while (StyleBaseImpl *parent = root->parent())
           root = parent;
       if (root->isCSSStyleSheet())
           static_cast<CSSStyleSheetImpl*>(root)->doc()->updateStyleSelector();
  
  
  



More information about the webkit-changes mailing list