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

Unified Diff: ppapi/cpp/private/flash_menu.cc

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_menu.h ('k') | ppapi/cpp/private/flash_message_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/flash_menu.cc
diff --git a/ppapi/cpp/private/flash_menu.cc b/ppapi/cpp/private/flash_menu.cc
index ce13f7a4d7ba72bf50629f60cf93150c31a357df..e77021b1a5b276cc2441c84523330ce1e7f44911 100644
--- a/ppapi/cpp/private/flash_menu.cc
+++ b/ppapi/cpp/private/flash_menu.cc
@@ -6,7 +6,7 @@
#include "ppapi/c/pp_errors.h"
#include "ppapi/cpp/completion_callback.h"
-#include "ppapi/cpp/instance.h"
+#include "ppapi/cpp/instance_handle.h"
#include "ppapi/cpp/module.h"
#include "ppapi/cpp/module_impl.h"
#include "ppapi/cpp/point.h"
@@ -23,7 +23,8 @@ template <> const char* interface_name<PPB_Flash_Menu>() {
namespace flash {
-Menu::Menu(const Instance& instance, const struct PP_Flash_Menu* menu_data) {
+Menu::Menu(const InstanceHandle& instance,
+ const struct PP_Flash_Menu* menu_data) {
if (has_interface<PPB_Flash_Menu>()) {
PassRefFromConstructor(get_interface<PPB_Flash_Menu>()->Create(
instance.pp_instance(), menu_data));
« no previous file with comments | « ppapi/cpp/private/flash_menu.h ('k') | ppapi/cpp/private/flash_message_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698