diff options
Diffstat (limited to 'chrome/plugin/webplugin_proxy.cc')
-rw-r--r-- | chrome/plugin/webplugin_proxy.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/plugin/webplugin_proxy.cc b/chrome/plugin/webplugin_proxy.cc index 56beb25c..2cbb3ee 100644 --- a/chrome/plugin/webplugin_proxy.cc +++ b/chrome/plugin/webplugin_proxy.cc @@ -279,9 +279,9 @@ void WebPluginProxy::UpdateGeometry( 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::UpdateGeometry( } 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 @@ void WebPluginProxy::SetWindowlessBuffer( UpdateTransform(); } -void WebPluginProxy::ConvertBuffer(const SharedMemoryHandle& buffer, +void WebPluginProxy::ConvertBuffer(const base::SharedMemoryHandle& buffer, ScopedHandle* shared_section, ScopedBitmap* bitmap, ScopedHDC* hdc) { |