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

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: 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.cc
diff --git a/ppapi/cpp/private/flash_menu.cc b/ppapi/cpp/private/flash_menu.cc
index ce13f7a4d7ba72bf50629f60cf93150c31a357df..a11886b60ae2fc57feb12b32b59e335c2bcd958e 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,7 @@ 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));

Powered by Google App Engine
This is Rietveld 408576698