| Index: cc/CCLayerTreeHostTest.cpp
|
| diff --git a/cc/CCLayerTreeHostTest.cpp b/cc/CCLayerTreeHostTest.cpp
|
| index fbb46f40f2e877f35e54d21387184328b2b997af..c8e7ed0a03e312eaab28db0d3b06f284c58cd32b 100644
|
| --- a/cc/CCLayerTreeHostTest.cpp
|
| +++ b/cc/CCLayerTreeHostTest.cpp
|
| @@ -2428,7 +2428,7 @@ public:
|
| virtual void update(CCTextureUpdateQueue&, const CCOcclusionTracker*, CCRenderingStats&) OVERRIDE;
|
| virtual bool drawsContent() const OVERRIDE { return true; }
|
|
|
| - virtual PassOwnPtr<CCLayerImpl> createCCLayerImpl() OVERRIDE;
|
| + virtual scoped_ptr<CCLayerImpl> createCCLayerImpl() OVERRIDE;
|
| virtual void pushPropertiesTo(CCLayerImpl*) OVERRIDE;
|
| virtual void setTexturePriorities(const CCPriorityCalculator&) OVERRIDE;
|
|
|
| @@ -2456,9 +2456,9 @@ private:
|
|
|
| class EvictionTestLayerImpl : public CCLayerImpl {
|
| public:
|
| - static PassOwnPtr<EvictionTestLayerImpl> create(int id)
|
| + static scoped_ptr<EvictionTestLayerImpl> create(int id)
|
| {
|
| - return adoptPtr(new EvictionTestLayerImpl(id));
|
| + return make_scoped_ptr(new EvictionTestLayerImpl(id));
|
| }
|
| virtual ~EvictionTestLayerImpl() { }
|
|
|
| @@ -2496,9 +2496,9 @@ void EvictionTestLayer::update(CCTextureUpdateQueue& queue, const CCOcclusionTra
|
| queue.appendFullUpload(parameters);
|
| }
|
|
|
| -PassOwnPtr<CCLayerImpl> EvictionTestLayer::createCCLayerImpl()
|
| +scoped_ptr<CCLayerImpl> EvictionTestLayer::createCCLayerImpl()
|
| {
|
| - return EvictionTestLayerImpl::create(m_layerId);
|
| + return EvictionTestLayerImpl::create(m_layerId).PassAs<CCLayerImpl>();
|
| }
|
|
|
| void EvictionTestLayer::pushPropertiesTo(CCLayerImpl* layerImpl)
|
|
|