2019-07-08 20:46:12 +00:00
|
|
|
diff -up firefox-65.0/layout/base/PresShell.h.1354671 firefox-65.0/layout/base/PresShell.h
|
|
|
|
--- firefox-65.0/layout/base/PresShell.h.1354671 2019-01-29 11:50:08.516649643 +0100
|
|
|
|
+++ firefox-65.0/layout/base/PresShell.h 2019-01-29 11:51:48.930258629 +0100
|
2019-01-29 10:54:31 +00:00
|
|
|
@@ -205,7 +205,7 @@ class nsIPresShell : public nsStubDocume
|
2017-04-27 11:10:48 +00:00
|
|
|
* to the same aSize value. AllocateFrame is infallible and will abort
|
|
|
|
* on out-of-memory.
|
2017-01-24 10:35:57 +00:00
|
|
|
*/
|
2019-01-29 10:54:31 +00:00
|
|
|
- void* AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
|
|
|
|
+ void* __attribute__((optimize("no-lifetime-dse"))) AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
|
2017-01-24 10:35:57 +00:00
|
|
|
void* result = mFrameArena.AllocateByFrameID(aID, aSize);
|
|
|
|
RecordAlloc(result);
|
2019-01-29 10:54:31 +00:00
|
|
|
return result;
|