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

Unified Diff: cc/LayerChromium.h

Issue 11099040: [cc] Store CCLayerImpls as scoped_ptrs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix cc unit tests Created 8 years, 2 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/IOSurfaceLayerChromium.cpp ('k') | cc/LayerChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/LayerChromium.h
diff --git a/cc/LayerChromium.h b/cc/LayerChromium.h
index dedc707ee7ab853e206937c9b33772525353004d..47a25a28ebc57e4961ace46db1213d4338b89fc3 100644
--- a/cc/LayerChromium.h
+++ b/cc/LayerChromium.h
@@ -11,7 +11,6 @@
#include "base/memory/ref_counted.h"
#include "CCLayerAnimationController.h"
#include "CCOcclusionTracker.h"
-#include "CCPrioritizedTexture.h"
#include "FloatPoint.h"
#include "Region.h"
#include "RenderSurfaceChromium.h"
@@ -20,8 +19,6 @@
#include <public/WebTransformationMatrix.h>
#include <string>
#include <vector>
-#include <wtf/OwnPtr.h>
-#include <wtf/PassOwnPtr.h>
namespace WebKit {
class WebAnimationDelegate;
@@ -35,6 +32,7 @@ struct CCAnimationEvent;
class CCLayerAnimationDelegate;
class CCLayerImpl;
class CCLayerTreeHost;
+class CCPriorityCalculator;
class CCTextureUpdateQueue;
class ScrollbarLayerChromium;
struct CCAnimationEvent;
@@ -297,7 +295,7 @@ protected:
scoped_refptr<LayerChromium> m_maskLayer;
// Constructs a CCLayerImpl of the correct runtime type for this LayerChromium type.
- virtual PassOwnPtr<CCLayerImpl> createCCLayerImpl();
+ virtual scoped_ptr<CCLayerImpl> createCCLayerImpl();
int m_layerId;
private:
« no previous file with comments | « cc/IOSurfaceLayerChromium.cpp ('k') | cc/LayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698