Verified Commit 193b0cef authored by Jonathan Kew's avatar Jonathan Kew Committed by ma1
Browse files

Bug 1886598 - Struct with Pointer member may not be memmove-able. r=gfx-reviewers,lsalzman

parent 9234be9c
Loading
Loading
Loading
Loading
+1 −1
Changes for gfx/thebes/gfxPlatformFontList.h: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ class ShmemCharMapHashEntry final : public PLDHashEntryHdr {
    return aCharMap->GetChecksum();
  }

  enum { ALLOW_MEMMOVE = true };
  enum { ALLOW_MEMMOVE = false };  // because of the Pointer member

 private:
  // charMaps are stored in the shared memory that FontList objects point to,