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

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: 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_fullscreen.cc ('k') | ppapi/cpp/private/flash_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « ppapi/cpp/private/flash_fullscreen.cc ('k') | ppapi/cpp/private/flash_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698