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

Unified Diff: chrome/renderer/webplugin_delegate_proxy.cc

Issue 10895: Add Terminate() to the Process object, have RenderProcessHost use this to avo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.h ('k') | chrome/test/memory_test/memory_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/webplugin_delegate_proxy.cc
===================================================================
--- chrome/renderer/webplugin_delegate_proxy.cc (revision 5371)
+++ chrome/renderer/webplugin_delegate_proxy.cc (working copy)
@@ -397,10 +397,10 @@
}
bool WebPluginDelegateProxy::CreateBitmap(
- scoped_ptr<SharedMemory>* memory,
+ scoped_ptr<base::SharedMemory>* memory,
scoped_ptr<gfx::PlatformCanvasWin>* canvas) {
size_t size = GetPaintBufSize(plugin_rect_);
- scoped_ptr<SharedMemory> new_shared_memory(new SharedMemory());
+ scoped_ptr<base::SharedMemory> new_shared_memory(new base::SharedMemory());
if (!new_shared_memory->Create(L"", false, true, size))
return false;
@@ -515,7 +515,7 @@
PluginMsg_PrintResponse_Params params = { 0 };
Send(new PluginMsg_Print(instance_id_, &params));
- SharedMemory memory(params.shared_memory, true);
+ base::SharedMemory memory(params.shared_memory, true);
if (!memory.Map(params.size)) {
NOTREACHED();
return;
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.h ('k') | chrome/test/memory_test/memory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698