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

Unified Diff: ppapi/cpp/private/flash_menu.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: 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
Index: ppapi/cpp/private/flash_menu.h
diff --git a/ppapi/cpp/private/flash_menu.h b/ppapi/cpp/private/flash_menu.h
index 88f1e50db0f541a0252cbbe1c4dfb574f4a4c41d..a0a7499a636e7615863ad4abf71dc50f2cc257bc 100644
--- a/ppapi/cpp/private/flash_menu.h
+++ b/ppapi/cpp/private/flash_menu.h
@@ -11,7 +11,7 @@
namespace pp {
class CompletionCallback;
-class Instance;
+class InstanceHandle;
class Point;
namespace flash {
@@ -19,7 +19,7 @@ namespace flash {
class Menu : public Resource {
public:
// TODO(viettrungluu): Write a proper C++ wrapper of |PP_Flash_Menu|.
- Menu(const Instance& instance, const struct PP_Flash_Menu* menu_data);
+ Menu(const InstanceHandle& instance, const struct PP_Flash_Menu* menu_data);
int32_t Show(const Point& location,
int32_t* selected_id,

Powered by Google App Engine
This is Rietveld 408576698