Title: [97467] trunk/Source/WebCore
Revision
97467
Author
[email protected]
Date
2011-10-14 08:10:22 -0700 (Fri, 14 Oct 2011)

Log Message

Unreviewed, actually remove StyleList.* after r97640.

* css/StyleList.cpp: Removed.
* css/StyleList.h: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (97466 => 97467)


--- trunk/Source/WebCore/ChangeLog	2011-10-14 14:57:49 UTC (rev 97466)
+++ trunk/Source/WebCore/ChangeLog	2011-10-14 15:10:22 UTC (rev 97467)
@@ -1,5 +1,12 @@
 2011-10-14  Andreas Kling  <[email protected]>
 
+        Unreviewed, actually remove StyleList.* after r97640.
+
+        * css/StyleList.cpp: Removed.
+        * css/StyleList.h: Removed.
+
+2011-10-14  Andreas Kling  <[email protected]>
+
         Merge StyleList into StyleSheet.
         https://bugs.webkit.org/show_bug.cgi?id=70100
 

Deleted: trunk/Source/WebCore/css/StyleList.cpp (97466 => 97467)


--- trunk/Source/WebCore/css/StyleList.cpp	2011-10-14 14:57:49 UTC (rev 97466)
+++ trunk/Source/WebCore/css/StyleList.cpp	2011-10-14 15:10:22 UTC (rev 97467)
@@ -1,55 +0,0 @@
-/*
- * Copyright (C) 1999-2003 Lars Knoll ([email protected])
- *               1999 Waldo Bastian ([email protected])
- *               2001 Andreas Schlapbach ([email protected])
- *               2001-2003 Dirk Mueller ([email protected])
- * Copyright (C) 2002, 2006, 2008 Apple Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "StyleList.h"
-
-#include <wtf/PassRefPtr.h>
-
-namespace WebCore {
-
-void StyleList::append(PassRefPtr<StyleBase> child)
-{
-    StyleBase* c = child.get();
-    m_children.append(child);
-    c->insertedIntoParent();
-}
-
-void StyleList::insert(unsigned position, PassRefPtr<StyleBase> child)
-{
-    StyleBase* c = child.get();
-    if (position >= length())
-        m_children.append(child);
-    else
-        m_children.insert(position, child);
-    c->insertedIntoParent();
-}
-
-void StyleList::remove(unsigned position)
-{
-    if (position >= length())
-        return;
-    m_children.remove(position);
-}
-
-}

Deleted: trunk/Source/WebCore/css/StyleList.h (97466 => 97467)


--- trunk/Source/WebCore/css/StyleList.h	2011-10-14 14:57:49 UTC (rev 97466)
+++ trunk/Source/WebCore/css/StyleList.h	2011-10-14 15:10:22 UTC (rev 97467)
@@ -1,49 +0,0 @@
-/*
- * Copyright (C) 1999-2003 Lars Knoll ([email protected])
- *               1999 Waldo Bastian ([email protected])
- * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef StyleList_h
-#define StyleList_h
-
-#include "StyleBase.h"
-#include <wtf/Forward.h>
-#include <wtf/RefPtr.h>
-#include <wtf/Vector.h>
-
-namespace WebCore {
-
-    // a style class which has a list of children (StyleSheets for example)
-    class StyleList : public StyleBase {
-    public:
-        unsigned length() { return m_children.size(); }
-        StyleBase* item(unsigned num) { return num < length() ? m_children[num].get() : 0; }
-
-        void append(PassRefPtr<StyleBase>);
-        void insert(unsigned position, PassRefPtr<StyleBase>);
-        void remove(unsigned position);
-
-    protected:
-        StyleList(StyleBase* parent) : StyleBase(parent) { }
-
-        Vector<RefPtr<StyleBase> > m_children;
-    };
-}
-
-#endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to