Bug 1141089 - Remove unused DisplayItemData copy constructor. r=roc

--HG--
extra : rebase_source : 50f0d21ccd6fdac5769caeebf8ec95a2d7174d2d
This commit is contained in:
Markus Stange 2015-04-10 17:23:22 -04:00
Родитель af62baff7f
Коммит f3f481c41f
2 изменённых файлов: 0 добавлений и 18 удалений

Просмотреть файл

@ -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