summaryrefslogtreecommitdiffstats
path: root/firefox-remi.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-05-13 16:22:15 +0200
committerRemi Collet <fedora@famillecollet.com>2010-05-13 16:22:15 +0200
commit38a23ef90eab3e798260999d546e4b62beb30838 (patch)
treed41bbac5c7057320301a11156fd8c1fc95a34acb /firefox-remi.patch
parent139f64c6307428ff5ccc8a6e3fd5fa607f2f95ef (diff)
Firefox 3.6.4build3
Diffstat (limited to 'firefox-remi.patch')
-rw-r--r--firefox-remi.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/firefox-remi.patch b/firefox-remi.patch
new file mode 100644
index 0000000..038058e
--- /dev/null
+++ b/firefox-remi.patch
@@ -0,0 +1,30 @@
+--- mozilla-1.9.2/layout/generic/nsFrame.h.orig 2009-11-06 19:29:14.000000000 +0100
++++ mozilla-1.9.2/layout/generic/nsFrame.h 2009-11-06 19:30:54.000000000 +0100
+@@ -153,23 +153,14 @@
+ friend nsIFrame* NS_NewEmptyFrame(nsIPresShell* aShell,
+ nsStyleContext* aContext);
+
++
++ // Set this public as in 1.9.1 !
++ void operator delete(void* aPtr, size_t sz);
++
+ private:
+ // Left undefined; nsFrame objects are never allocated from the heap.
+ void* operator new(size_t sz) CPP_THROW_NEW;
+
+-protected:
+- // Overridden to prevent the global delete from being called, since
+- // the memory came out of an arena instead of the heap.
+- //
+- // Ideally this would be private and undefined, like the normal
+- // operator new. Unfortunately, the C++ standard requires an
+- // overridden operator delete to be accessible to any subclass that
+- // defines a virtual destructor, so we can only make it protected;
+- // worse, some C++ compilers will synthesize calls to this function
+- // from the "deleting destructors" that they emit in case of
+- // delete-expressions, so it can't even be undefined.
+- void operator delete(void* aPtr, size_t sz);
+-
+ public:
+
+ // nsQueryFrame