Index: cc/debug/test_web_graphics_context_3d.h |
diff --git a/cc/debug/test_web_graphics_context_3d.h b/cc/debug/test_web_graphics_context_3d.h |
index 3dfc7ed272fc22c8c7490fea1ff101cbfe2e84cc..45a7c59e2bb30bd23ab68f22e9049e57c32a574d 100644 |
--- a/cc/debug/test_web_graphics_context_3d.h |
+++ b/cc/debug/test_web_graphics_context_3d.h |
@@ -205,6 +205,10 @@ class CC_EXPORT TestWebGraphicsContext3D : public FakeWebGraphicsContext3D { |
virtual WebKit::WebGLId NextImageId(); |
+ size_t transfer_buffer_memory_used_bytes() const { |
+ return transfer_buffer_memory_used_bytes_; |
+ } |
+ |
protected: |
struct Buffer { |
Buffer(); |
@@ -278,6 +282,7 @@ class CC_EXPORT TestWebGraphicsContext3D : public FakeWebGraphicsContext3D { |
static Namespace* shared_namespace_; |
base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; |
+ size_t transfer_buffer_memory_used_bytes_; |
}; |
} // namespace cc |