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

Unified Diff: ppapi/cpp/dev/buffer_dev.h

Issue 9381010: Convert resources to take an instance key instead of an Instance*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USELESS PATCH TITLE Created 8 years, 10 months 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 | « ppapi/cpp/dev/audio_input_dev.cc ('k') | ppapi/cpp/dev/buffer_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/buffer_dev.h
diff --git a/ppapi/cpp/dev/buffer_dev.h b/ppapi/cpp/dev/buffer_dev.h
index 9e9ac813ce5e4360d1f18f4d35aea185a9e594e2..da89cbaee58ca83992dbe9dc4898a1251c35720d 100644
--- a/ppapi/cpp/dev/buffer_dev.h
+++ b/ppapi/cpp/dev/buffer_dev.h
@@ -9,7 +9,7 @@
namespace pp {
-class Instance;
+class InstanceHandle;
class Buffer_Dev : public Resource {
public:
@@ -20,7 +20,7 @@ class Buffer_Dev : public Resource {
// Creates & Maps a new Buffer in the browser with the given size. The
// resulting object will be is_null() if either Create() or Map() fails.
- Buffer_Dev(Instance* instance, uint32_t size);
+ Buffer_Dev(const InstanceHandle& instance, uint32_t size);
// Unmap the underlying shared memory.
virtual ~Buffer_Dev();
« no previous file with comments | « ppapi/cpp/dev/audio_input_dev.cc ('k') | ppapi/cpp/dev/buffer_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698