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

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

Powered by Google App Engine
This is Rietveld 408576698