Make RenderObject non-copyable.

Important since pointers been replaced with references.

BUG=

Review URL: https://codereview.chromium.org/184673002

git-svn-id: svn://svn.chromium.org/blink/trunk@168157 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 22ed401f
...@@ -137,6 +137,7 @@ class RenderObject : public ImageResourceClient { ...@@ -137,6 +137,7 @@ class RenderObject : public ImageResourceClient {
friend class RenderLayerReflectionInfo; // For setParent friend class RenderLayerReflectionInfo; // For setParent
friend class RenderLayerScrollableArea; // For setParent. friend class RenderLayerScrollableArea; // For setParent.
friend class RenderObjectChildList; friend class RenderObjectChildList;
WTF_MAKE_NONCOPYABLE(RenderObject);
public: public:
// Anonymous objects should pass the document as their node, and they will then automatically be // Anonymous objects should pass the document as their node, and they will then automatically be
// marked as anonymous in the constructor. // marked as anonymous in the constructor.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment