Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
index c8b928e6ba2d410cba0eae8b5697184f5e3e19a7..163b33dbc8cafb590414fc5903a5d42717598a70 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
@@ -63,6 +63,8 @@ WTF::RefCountedLeakCounter& drawingBufferCounter() |
#endif |
class ScopedTextureUnit0BindingRestorer { |
+ STACK_ALLOCATED(); |
+ WTF_MAKE_NONCOPYABLE(ScopedTextureUnit0BindingRestorer); |
public: |
ScopedTextureUnit0BindingRestorer(WebGraphicsContext3D* context, GLenum activeTextureUnit, Platform3DObject textureUnitZeroId) |
: m_context(context) |