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

Unified Diff: content/renderer/npapi/webplugin_delegate_proxy.h

Issue 802433003: Remove cc::SharedBitmap::memory() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nogetbitmapfor
Patch Set: Created 6 years 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 | « content/common/host_shared_bitmap_manager.cc ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/npapi/webplugin_delegate_proxy.h
diff --git a/content/renderer/npapi/webplugin_delegate_proxy.h b/content/renderer/npapi/webplugin_delegate_proxy.h
index 82071b8d3c18c56ea1094011c9981a4c6e16db18..5a47e475a092022ee8501494d2bab9382d9ccf1c 100644
--- a/content/renderer/npapi/webplugin_delegate_proxy.h
+++ b/content/renderer/npapi/webplugin_delegate_proxy.h
@@ -34,15 +34,13 @@ namespace base {
class WaitableEvent;
}
-namespace cc {
-class SharedBitmap;
-}
namespace content {
class NPObjectStub;
class PluginChannelHost;
class RenderFrameImpl;
class RenderViewImpl;
+class SharedMemoryBitmap;
class WebPluginImpl;
// An implementation of WebPluginDelegate that proxies all calls to
@@ -158,7 +156,7 @@ class WebPluginDelegateProxy
SharedBitmap();
~SharedBitmap();
- scoped_ptr<cc::SharedBitmap> bitmap;
+ scoped_ptr<SharedMemoryBitmap> bitmap;
scoped_ptr<SkCanvas> canvas;
};
@@ -232,11 +230,11 @@ class WebPluginDelegateProxy
return transport_stores_[back_buffer_index()].canvas.get();
}
- cc::SharedBitmap* front_buffer_bitmap() const {
+ SharedMemoryBitmap* front_buffer_bitmap() const {
return transport_stores_[front_buffer_index()].bitmap.get();
}
- cc::SharedBitmap* back_buffer_bitmap() const {
+ SharedMemoryBitmap* back_buffer_bitmap() const {
return transport_stores_[back_buffer_index()].bitmap.get();
}
@@ -248,7 +246,7 @@ class WebPluginDelegateProxy
#endif
// Creates a shared memory section and canvas.
- bool CreateSharedBitmap(scoped_ptr<cc::SharedBitmap>* memory,
+ bool CreateSharedBitmap(scoped_ptr<SharedMemoryBitmap>* memory,
scoped_ptr<SkCanvas>* canvas);
// Called for cleanup during plugin destruction. Normally right before the
« no previous file with comments | « content/common/host_shared_bitmap_manager.cc ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698