pkgsrc/devel/xulrunner192/patches/patch-layout_style_nsCSSRuleProcessor.cpp
joerg 05a9d221d7 Global variables of types without default constructors may not be
constant. Fix issues with template look up. Disable visibility for clang
as it checks the consistency of type declarations and the old Mozilla
code is way too heavy to patch for that.
2012-11-18 01:55:52 +00:00

13 lines
682 B
C++

$NetBSD: patch-layout_style_nsCSSRuleProcessor.cpp,v 1.1 2012/11/18 01:55:52 joerg Exp $
--- layout/style/nsCSSRuleProcessor.cpp.orig 2012-11-17 18:19:14.000000000 +0000
+++ layout/style/nsCSSRuleProcessor.cpp
@@ -1196,7 +1196,7 @@ static PRBool AttrMatchesValue(const nsA
return PR_FALSE;
const nsDefaultStringComparator defaultComparator;
- const nsCaseInsensitiveStringComparator ciComparator;
+ nsCaseInsensitiveStringComparator ciComparator;
const nsStringComparator& comparator = aAttrSelector->mCaseSensitive
? static_cast<const nsStringComparator&>(defaultComparator)
: static_cast<const nsStringComparator&>(ciComparator);