Bug 1403397 - Revert: Round hashglobe allocations up to the nearest page size. r=bholley

This reverts commit a4aba77facc8ceab1e0d7f7d796075a6606b15c6.

MozReview-Commit-ID: 7quMDoDmqxL
This commit is contained in:
Bobby Holley 2017-10-03 10:09:08 -07:00
parent ce4c83e27d
commit cb4c93bfd6
2 changed files with 0 additions and 11 deletions

View File

@ -68,7 +68,6 @@
#include "mozilla/dom/ElementInlines.h"
#include "mozilla/dom/HTMLTableCellElement.h"
#include "mozilla/dom/HTMLBodyElement.h"
#include "mozilla/ipc/SharedMemory.h"
#include "mozilla/LookAndFeel.h"
#include "mozilla/URLExtraData.h"
@ -2633,13 +2632,6 @@ Gecko_ShouldCreateStyleThreadPool()
return !mozilla::BrowserTabsRemoteAutostart() || XRE_IsContentProcess();
}
size_t
Gecko_GetSystemPageSize()
{
MOZ_ASSERT(NS_IsMainThread());
return mozilla::ipc::SharedMemory::SystemPageSize();
}
NS_IMPL_FFI_REFCOUNTING(nsCSSFontFaceRule, CSSFontFaceRule);
nsCSSCounterStyleRule*

View File

@ -646,9 +646,6 @@ int32_t Gecko_RegisterNamespace(nsIAtom* ns);
// Returns true if this process should create a rayon thread pool for styling.
bool Gecko_ShouldCreateStyleThreadPool();
// Returns the page size on this system.
size_t Gecko_GetSystemPageSize();
// Style-struct management.
#define STYLE_STRUCT(name, checkdata_cb) \
void Gecko_Construct_Default_nsStyle##name( \