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

Unified Diff: chrome/plugin/webplugin_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/plugin/webplugin_proxy.h ('k') | chrome/renderer/greasemonkey_slave.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/webplugin_proxy.cc
===================================================================
--- chrome/plugin/webplugin_proxy.cc (revision 5371)
+++ chrome/plugin/webplugin_proxy.cc (working copy)
@@ -279,9 +279,9 @@
const gfx::Rect& clip_rect,
const std::vector<gfx::Rect>& cutout_rects,
bool visible,
- const SharedMemoryHandle& windowless_buffer,
- const SharedMemoryHandle& background_buffer) {
- gfx::Rect old = delegate_->rect();
+ const base::SharedMemoryHandle& windowless_buffer,
+ const base::SharedMemoryHandle& background_buffer) {
+ gfx::Rect old = delegate_->rect();
bool moved = delegate_->rect().x() != window_rect.x() ||
delegate_->rect().y() != window_rect.y();
delegate_->UpdateGeometry(window_rect, clip_rect, cutout_rects, visible);
@@ -295,8 +295,8 @@
}
void WebPluginProxy::SetWindowlessBuffer(
- const SharedMemoryHandle& windowless_buffer,
- const SharedMemoryHandle& background_buffer) {
+ const base::SharedMemoryHandle& windowless_buffer,
+ const base::SharedMemoryHandle& background_buffer) {
// Convert the shared memory handle to a handle that works in our process,
// and then use that to create an HDC.
ConvertBuffer(windowless_buffer,
@@ -312,7 +312,7 @@
UpdateTransform();
}
-void WebPluginProxy::ConvertBuffer(const SharedMemoryHandle& buffer,
+void WebPluginProxy::ConvertBuffer(const base::SharedMemoryHandle& buffer,
ScopedHandle* shared_section,
ScopedBitmap* bitmap,
ScopedHDC* hdc) {
« no previous file with comments | « chrome/plugin/webplugin_proxy.h ('k') | chrome/renderer/greasemonkey_slave.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698