Bug 1604689 - Fix 'identfiers' typos. r=asuth
authorAndrew McCreight <continuation@gmail.com>
Wed, 18 Dec 2019 04:35:04 +0000
changeset 507503 03449d72cc542f9f3ee65920e01ce64da4103c63
parent 507502 e928d60013446484acd63757ac883626b722f85d
child 507504 c49bd4bc613dd6db0ed46890ac80a71f8373d88a
push id36929
push useropoprus@mozilla.com
push dateWed, 18 Dec 2019 16:02:51 +0000
treeherdermozilla-central@609b5711fb9d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersasuth
bugs1604689
milestone73.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1604689 - Fix 'identfiers' typos. r=asuth Differential Revision: https://phabricator.services.mozilla.com/D57595
dom/ipc/DOMTypes.ipdlh
dom/ipc/StructuredCloneData.cpp
gfx/wr/webrender/src/picture.rs
--- a/dom/ipc/DOMTypes.ipdlh
+++ b/dom/ipc/DOMTypes.ipdlh
@@ -56,17 +56,17 @@ struct MessagePortIdentifier
  * StructuredCloneData in your code to convert between this wire representation
  * and the StructuredCloneData StructuredCloneHolder-subclass.
  */
 struct ClonedMessageData
 {
   SerializedStructuredCloneBuffer data;
   IPCBlob[] blobs;
   IPCStream[] inputStreams;
-  MessagePortIdentifier[] identfiers;
+  MessagePortIdentifier[] identifiers;
 };
 
 union IPCDataTransferData
 {
   nsString;  // text
   Shmem;     // images using Shmem
   IPCBlob;   // files
 };
--- a/dom/ipc/StructuredCloneData.cpp
+++ b/dom/ipc/StructuredCloneData.cpp
@@ -139,17 +139,17 @@ bool BuildClonedMessageData(M* aManager,
   auto iter = aData.Data().Start();
   size_t size = aData.Data().Size();
   bool success;
   buffer.data = aData.Data().Borrow(iter, size, &success);
   if (NS_WARN_IF(!success)) {
     return false;
   }
   if (aData.SupportsTransferring()) {
-    aClonedData.identfiers().AppendElements(aData.PortIdentifiers());
+    aClonedData.identifiers().AppendElements(aData.PortIdentifiers());
   }
 
   const nsTArray<RefPtr<BlobImpl>>& blobImpls = aData.BlobImpls();
 
   if (!blobImpls.IsEmpty()) {
     if (NS_WARN_IF(
             !aClonedData.blobs().SetLength(blobImpls.Length(), fallible))) {
       return false;
@@ -253,17 +253,18 @@ struct MemoryTraits<StealMemory> {
 // Note that there isn't actually a difference between Parent/BackgroundParent
 // and Child/BackgroundChild in this implementation.  The calling methods,
 // however, do maintain the distinction for code-reading purposes and are backed
 // by assertions to enforce there is no misuse.
 template <MemoryFlavorEnum MemoryFlavor, ActorFlavorEnum Flavor>
 static void UnpackClonedMessageData(
     typename MemoryTraits<MemoryFlavor>::ClonedMessageType& aClonedData,
     StructuredCloneData& aData) {
-  const nsTArray<MessagePortIdentifier>& identifiers = aClonedData.identfiers();
+  const nsTArray<MessagePortIdentifier>& identifiers =
+      aClonedData.identifiers();
 
   MemoryTraits<MemoryFlavor>::ProvideBuffer(aClonedData, aData);
 
   if (aData.SupportsTransferring()) {
     aData.PortIdentifiers().AppendElements(identifiers);
   }
 
   const nsTArray<IPCBlob>& blobs = aClonedData.blobs();
--- a/gfx/wr/webrender/src/picture.rs
+++ b/gfx/wr/webrender/src/picture.rs
@@ -426,17 +426,17 @@ impl PrimitiveDependencyInfo {
             prim_clip_rect,
             clips: SmallVec::new(),
             spatial_nodes: SmallVec::new(),
         }
     }
 }
 
 /// A stable ID for a given tile, to help debugging. These are also used
-/// as unique identfiers for tile surfaces when using a native compositor.
+/// as unique identifiers for tile surfaces when using a native compositor.
 #[derive(Debug, Copy, Clone, PartialEq)]
 #[cfg_attr(feature = "capture", derive(Serialize))]
 #[cfg_attr(feature = "replay", derive(Deserialize))]
 pub struct TileId(pub usize);
 
 /// A descriptor for the kind of texture that a picture cache tile will
 /// be drawn into.
 #[derive(Debug)]