summaryrefslogtreecommitdiffstats
path: root/cc/texture_copier.cc
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-17 14:12:44 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-17 14:12:44 +0000
commita7aa5567e237f78e02defb0dfbe59c7690af5c23 (patch)
treeec9c2bb73e190560bea3689adaab08f015ea6baa /cc/texture_copier.cc
parent19c1c373edcc11cf28f66e25f02f890815336306 (diff)
downloadchromium_src-a7aa5567e237f78e02defb0dfbe59c7690af5c23.zip
chromium_src-a7aa5567e237f78e02defb0dfbe59c7690af5c23.tar.gz
chromium_src-a7aa5567e237f78e02defb0dfbe59c7690af5c23.tar.bz2
cc: Remove wtf includes from resource provider
R=jamesr@chromium.org BUG=154451 Review URL: https://chromiumcodereview.appspot.com/11183006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/texture_copier.cc')
-rw-r--r--cc/texture_copier.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/texture_copier.cc b/cc/texture_copier.cc
index 73121b8..a4a5328 100644
--- a/cc/texture_copier.cc
+++ b/cc/texture_copier.cc
@@ -7,7 +7,6 @@
#include "cc/texture_copier.h"
#include "CCRendererGL.h" // For the GLC() macro.
-#include "GraphicsContext3D.h"
#include "TraceEvent.h"
#include <public/WebGraphicsContext3D.h>
@@ -32,7 +31,7 @@ AcceleratedTextureCopier::AcceleratedTextureCopier(WebKit::WebGraphicsContext3D*
GLC(m_context, m_context->bufferData(GraphicsContext3D::ARRAY_BUFFER, sizeof(kPositions), kPositions, GraphicsContext3D::STATIC_DRAW));
GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ARRAY_BUFFER, 0));
- m_blitProgram = adoptPtr(new BlitProgram(m_context));
+ m_blitProgram.reset(new BlitProgram(m_context));
}
AcceleratedTextureCopier::~AcceleratedTextureCopier()