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

Unified Diff: cc/CCRenderSurface.h

Issue 10985088: cc: Switch it to use DISALLOW_COPY_AND_ASSIGN macro from base/ library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review 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
« no previous file with comments | « cc/CCRenderPassDrawQuad.h ('k') | cc/CCRenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCRenderSurface.h
diff --git a/cc/CCRenderSurface.h b/cc/CCRenderSurface.h
index 107cf67d52c02fe99c4f4893248157ec249feafa..c9a4720d41b64af789df81d1c05417bec16b9e9a 100644
--- a/cc/CCRenderSurface.h
+++ b/cc/CCRenderSurface.h
@@ -2,18 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
#ifndef CCRenderSurface_h
#define CCRenderSurface_h
#if USE(ACCELERATED_COMPOSITING)
+#include "base/basictypes.h"
#include "CCRenderPass.h"
#include "CCSharedQuadState.h"
#include "FloatRect.h"
#include "IntRect.h"
#include <public/WebTransformationMatrix.h>
-#include <wtf/Noncopyable.h>
namespace cc {
@@ -26,7 +25,6 @@ class CCLayerImpl;
struct CCAppendQuadsData;
class CCRenderSurface {
- WTF_MAKE_NONCOPYABLE(CCRenderSurface);
public:
explicit CCRenderSurface(CCLayerImpl*);
virtual ~CCRenderSurface();
@@ -123,6 +121,8 @@ private:
int m_currentLayerIndexHistory;
friend struct CCLayerIteratorActions;
+
+ DISALLOW_COPY_AND_ASSIGN(CCRenderSurface);
};
}
« no previous file with comments | « cc/CCRenderPassDrawQuad.h ('k') | cc/CCRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698