Index: content/renderer/render_process_impl.h |
diff --git a/content/renderer/render_process_impl.h b/content/renderer/render_process_impl.h |
index ff5e4219d0d4f0ac8f6f69d720cb549f698f2383..a27d901e137f8a0338dc6802bad565877785f30f 100644 |
--- a/content/renderer/render_process_impl.h |
+++ b/content/renderer/render_process_impl.h |
@@ -28,6 +28,8 @@ class RenderProcessImpl : public RenderProcess { |
virtual bool UseInProcessPlugins() const OVERRIDE; |
virtual void AddBindings(int bindings) OVERRIDE; |
virtual int GetEnabledBindings() const OVERRIDE; |
+ virtual TransportDIB* CreateTransportDIB(size_t size) OVERRIDE; |
+ virtual void FreeTransportDIB(TransportDIB*) OVERRIDE; |
// Like UseInProcessPlugins(), but called before RenderProcess is created |
// and does not allow overriding by tests. This just checks the command line |
@@ -53,11 +55,6 @@ class RenderProcessImpl : public RenderProcess { |
// size, this doesn't free any slots and returns -1. |
int FindFreeCacheSlot(size_t size); |
- // Create a new transport DIB of, at least, the given size. Return NULL on |
- // error. |
- TransportDIB* CreateTransportDIB(size_t size); |
- void FreeTransportDIB(TransportDIB*); |
- |
// A very simplistic and small cache. If an entry in this array is non-null, |
// then it points to a SharedMemory object that is available for reuse. |
TransportDIB* shared_mem_cache_[2]; |