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

Unified Diff: ppapi/cpp/private/flash_net_connector.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_net_connector.h ('k') | ppapi/cpp/private/instance_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/flash_net_connector.cc
diff --git a/ppapi/cpp/private/flash_net_connector.cc b/ppapi/cpp/private/flash_net_connector.cc
index 970740d2946723feb43a95c55a8af6e10733e2e5..b448e7ec78d578b74cce722f3de5284e8f055b32 100644
--- a/ppapi/cpp/private/flash_net_connector.cc
+++ b/ppapi/cpp/private/flash_net_connector.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"
@@ -22,7 +22,7 @@ template <> const char* interface_name<PPB_Flash_NetConnector>() {
namespace flash {
-NetConnector::NetConnector(const Instance& instance) {
+NetConnector::NetConnector(const InstanceHandle& instance) {
if (has_interface<PPB_Flash_NetConnector>()) {
PassRefFromConstructor(get_interface<PPB_Flash_NetConnector>()->Create(
instance.pp_instance()));
« no previous file with comments | « ppapi/cpp/private/flash_net_connector.h ('k') | ppapi/cpp/private/instance_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698