Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7727)

Unified Diff: cc/CCLayerSorter.h

Issue 10942040: Fix CC*Renderer and CC*LayerImpl to compile with Clang (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/CCLayerSorter.h
diff --git a/cc/CCLayerSorter.h b/cc/CCLayerSorter.h
index bb513b9c85613b8c13ae705d4919f3e04733b386..1ef659b51696a5e1b2d5e74d3b2284393b6a4465 100644
--- a/cc/CCLayerSorter.h
+++ b/cc/CCLayerSorter.h
@@ -22,7 +22,8 @@ namespace cc {
class CCLayerSorter {
WTF_MAKE_NONCOPYABLE(CCLayerSorter);
public:
- CCLayerSorter() : m_zRange(0) { }
+ CCLayerSorter();
+ ~CCLayerSorter();
typedef Vector<CCLayerImpl*> LayerList;
@@ -30,7 +31,7 @@ public:
// Holds various useful properties derived from a layer's 3D outline.
struct LayerShape {
- LayerShape() { }
+ LayerShape();
LayerShape(float width, float height, const WebKit::WebTransformationMatrix& drawTransform);
float layerZFromProjectedPoint(const FloatPoint&) const;
@@ -53,7 +54,8 @@ private:
struct GraphEdge;
struct GraphNode {
- explicit GraphNode(CCLayerImpl* cclayer) : layer(cclayer), incomingEdgeWeight(0) { }
+ explicit GraphNode(CCLayerImpl* cclayer);
+ ~GraphNode();
CCLayerImpl* layer;
LayerShape shape;
« no previous file with comments | « cc/CCLayerQuad.cpp ('k') | cc/CCLayerSorter.cpp » ('j') | cc/CCTiledLayerImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698