diff options
Diffstat (limited to 'content/public')
-rw-r--r-- | content/public/renderer/render_thread.h | 2 | ||||
-rw-r--r-- | content/public/test/mock_render_thread.cc | 2 | ||||
-rw-r--r-- | content/public/test/mock_render_thread.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/content/public/renderer/render_thread.h b/content/public/renderer/render_thread.h index 328a6bd..a041657 100644 --- a/content/public/renderer/render_thread.h +++ b/content/public/renderer/render_thread.h @@ -85,7 +85,7 @@ class CONTENT_EXPORT RenderThread : public IPC::Sender { // Asks the host to create a block of shared memory for the renderer. // The shared memory allocated by the host is returned back. virtual scoped_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer( - uint32 buffer_size) = 0; + size_t buffer_size) = 0; // Registers the given V8 extension with WebKit. virtual void RegisterExtension(v8::Extension* extension) = 0; diff --git a/content/public/test/mock_render_thread.cc b/content/public/test/mock_render_thread.cc index 6582970..a5d8e13 100644 --- a/content/public/test/mock_render_thread.cc +++ b/content/public/test/mock_render_thread.cc @@ -143,7 +143,7 @@ void MockRenderThread::RecordUserMetrics(const std::string& action) { scoped_ptr<base::SharedMemory> MockRenderThread::HostAllocateSharedMemoryBuffer( - uint32 buffer_size) { + size_t buffer_size) { scoped_ptr<base::SharedMemory> shared_buf(new base::SharedMemory); if (!shared_buf->CreateAndMapAnonymous(buffer_size)) { NOTREACHED() << "Cannot map shared memory buffer"; diff --git a/content/public/test/mock_render_thread.h b/content/public/test/mock_render_thread.h index b4b8700..c8f1419 100644 --- a/content/public/test/mock_render_thread.h +++ b/content/public/test/mock_render_thread.h @@ -60,7 +60,7 @@ class MockRenderThread : public RenderThread { virtual void EnsureWebKitInitialized() OVERRIDE; virtual void RecordUserMetrics(const std::string& action) OVERRIDE; virtual scoped_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer( - uint32 buffer_size) OVERRIDE; + size_t buffer_size) OVERRIDE; virtual void RegisterExtension(v8::Extension* extension) OVERRIDE; virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; virtual void IdleHandler() OVERRIDE; |