зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1141089 - Remove unused DisplayItemData copy constructor. r=roc
--HG-- extra : rebase_source : 50f0d21ccd6fdac5769caeebf8ec95a2d7174d2d
This commit is contained in:
Родитель
af62baff7f
Коммит
f3f481c41f
|
@ -61,23 +61,6 @@ FrameLayerBuilder::DisplayItemData::DisplayItemData(LayerManagerData* aParent, u
|
|||
}
|
||||
}
|
||||
|
||||
FrameLayerBuilder::DisplayItemData::DisplayItemData(DisplayItemData &toCopy)
|
||||
{
|
||||
// This isn't actually a copy-constructor; notice that it steals toCopy's
|
||||
// mGeometry pointer. Be careful.
|
||||
mParent = toCopy.mParent;
|
||||
mLayer = toCopy.mLayer;
|
||||
mInactiveManager = toCopy.mInactiveManager;
|
||||
mFrameList = toCopy.mFrameList;
|
||||
mGeometry = toCopy.mGeometry;
|
||||
mDisplayItemKey = toCopy.mDisplayItemKey;
|
||||
mClip = toCopy.mClip;
|
||||
mContainerLayerGeneration = toCopy.mContainerLayerGeneration;
|
||||
mLayerState = toCopy.mLayerState;
|
||||
mItem = toCopy.mItem;
|
||||
mUsed = toCopy.mUsed;
|
||||
}
|
||||
|
||||
void
|
||||
FrameLayerBuilder::DisplayItemData::AddFrame(nsIFrame* aFrame)
|
||||
{
|
||||
|
|
|
@ -448,7 +448,6 @@ public:
|
|||
uint32_t aKey,
|
||||
Layer* aLayer,
|
||||
nsIFrame* aFrame = nullptr);
|
||||
DisplayItemData(DisplayItemData &toCopy);
|
||||
|
||||
/**
|
||||
* Removes any references to this object from frames
|
||||
|
|
Загрузка…
Ссылка в новой задаче