Index: cc/CCLayerSorter.cpp |
diff --git a/cc/CCLayerSorter.cpp b/cc/CCLayerSorter.cpp |
index 1b643f5f11c34423c746f049652ff77f06e8d6e0..cf8577797211258877e2df9c020e41952027e814 100644 |
--- a/cc/CCLayerSorter.cpp |
+++ b/cc/CCLayerSorter.cpp |
@@ -62,6 +62,25 @@ static bool edgeEdgeTest(const FloatPoint& a, const FloatPoint& b, const FloatPo |
return true; |
} |
+CCLayerSorter::GraphNode::GraphNode(CCLayerImpl* cclayer) |
+ : layer(cclayer) |
+ , incomingEdgeWeight(0) |
+{ |
+} |
+ |
+CCLayerSorter::GraphNode::~GraphNode() |
+{ |
+} |
+ |
+CCLayerSorter::CCLayerSorter() |
+ : m_zRange(0) |
+{ |
+} |
+ |
+CCLayerSorter::~CCLayerSorter() |
+{ |
+} |
+ |
// Checks whether layer "a" draws on top of layer "b". The weight value returned is an indication of |
// the maximum z-depth difference between the layers or zero if the layers are found to be intesecting |
// (some features are in front and some are behind). |
@@ -132,6 +151,10 @@ CCLayerSorter::ABCompareResult CCLayerSorter::checkOverlap(LayerShape* a, LayerS |
return BBeforeA; |
} |
+CCLayerSorter::LayerShape::LayerShape() |
+{ |
+} |
+ |
CCLayerSorter::LayerShape::LayerShape(float width, float height, const WebTransformationMatrix& drawTransform) |
{ |
FloatQuad layerQuad(FloatRect(0, 0, width, height)); |