Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: content/renderer/render_process_impl.h

Issue 10830072: Browser Plugin: New Implementation (Renderer Side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed leaky Persistents in BrowserPlugin Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..97f5e8d4287ef4c56338765f342aefb836fd174a 100644
--- a/content/renderer/render_process_impl.h
+++ b/content/renderer/render_process_impl.h
@@ -20,6 +20,11 @@ class RenderProcessImpl : public RenderProcess {
RenderProcessImpl();
virtual ~RenderProcessImpl();
+ // Create a new transport DIB of, at least, the given size. Return NULL on
+ // error.
+ TransportDIB* CreateTransportDIB(size_t size);
+ void FreeTransportDIB(TransportDIB*);
+
// RenderProcess implementation.
virtual skia::PlatformCanvas* GetDrawingCanvas(
TransportDIB** memory,
@@ -53,11 +58,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];

Powered by Google App Engine
This is Rietveld 408576698