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

Unified Diff: ppapi/cpp/dev/fullscreen_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/font_dev.cc ('k') | ppapi/cpp/dev/fullscreen_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/fullscreen_dev.h
diff --git a/ppapi/cpp/dev/fullscreen_dev.h b/ppapi/cpp/dev/fullscreen_dev.h
index 9a11031e114a0c66bd6397074aa9f7f86ae5eb11..96c1ba2149af18672f43f501897396d4494dc9e0 100644
--- a/ppapi/cpp/dev/fullscreen_dev.h
+++ b/ppapi/cpp/dev/fullscreen_dev.h
@@ -5,14 +5,15 @@
#ifndef PPAPI_CPP_DEV_FULLSCREEN_DEV_H_
#define PPAPI_CPP_DEV_FULLSCREEN_DEV_H_
+#include "ppapi/cpp/instance_handle.h"
+
namespace pp {
-class Instance;
class Size;
class Fullscreen_Dev {
public:
- Fullscreen_Dev(Instance* instance);
+ Fullscreen_Dev(const InstanceHandle& instance);
virtual ~Fullscreen_Dev();
// PPB_Fullscreen_Dev methods.
@@ -21,7 +22,7 @@ class Fullscreen_Dev {
bool GetScreenSize(Size* size);
private:
- Instance* instance_;
+ InstanceHandle instance_;
};
} // namespace pp
« no previous file with comments | « ppapi/cpp/dev/font_dev.cc ('k') | ppapi/cpp/dev/fullscreen_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698