[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 11:57:00 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 922d89a245dea49710e04af565938343dbcd8809
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Aug 12 01:27:11 2010 +0000
2010-08-11 Julien Chaffraix <jchaffraix at codeaurora.org>
Reviewed by Ariya Hidayat.
Remove dead code in CSSStyleSelector.
https://bugs.webkit.org/show_bug.cgi?id=43805
* css/CSSStyleSelector.cpp: Remove some debugging code that
was compiled out.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 68c00c4..1a01eb4 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2010-08-11 Julien Chaffraix <jchaffraix at codeaurora.org>
+
+ Reviewed by Ariya Hidayat.
+
+ Remove dead code in CSSStyleSelector.
+ https://bugs.webkit.org/show_bug.cgi?id=43805
+
+ * css/CSSStyleSelector.cpp: Remove some debugging code that
+ was compiled out.
+
2010-08-11 Chris Fleizach <cfleizach at apple.com>
Reviewed by Beth Dakin.
diff --git a/WebCore/css/CSSStyleSelector.cpp b/WebCore/css/CSSStyleSelector.cpp
index 2da4222..7d5464c 100644
--- a/WebCore/css/CSSStyleSelector.cpp
+++ b/WebCore/css/CSSStyleSelector.cpp
@@ -125,8 +125,6 @@ namespace WebCore {
using namespace HTMLNames;
-// #define STYLE_SHARING_STATS 1
-
#define HANDLE_INHERIT(prop, Prop) \
if (isInherit) { \
m_style->set##Prop(m_parentStyle->prop()); \
@@ -948,11 +946,6 @@ bool CSSStyleSelector::SelectorChecker::checkSelector(CSSSelector* sel, Element*
return checkSelector(sel, element, 0, dynamicPseudo, false, false) == SelectorMatches;
}
-#ifdef STYLE_SHARING_STATS
-static int fraction = 0;
-static int total = 0;
-#endif
-
static const unsigned cStyleSearchThreshold = 10;
Node* CSSStyleSelector::locateCousinList(Element* parent, unsigned depth)
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list