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

Unified Diff: ppapi/cpp/instance_handle.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/instance_handle.h ('k') | ppapi/cpp/module.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/instance_handle.cc
diff --git a/ppapi/cpp/instance_handle.cc b/ppapi/cpp/instance_handle.cc
new file mode 100644
index 0000000000000000000000000000000000000000..8c3195a3b8c9e58051b8055f50c8d81d04d5e5bf
--- /dev/null
+++ b/ppapi/cpp/instance_handle.cc
@@ -0,0 +1,15 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ppapi/cpp/instance_handle.h"
+
+#include "ppapi/cpp/instance.h"
+
+namespace pp {
+
+InstanceHandle::InstanceHandle(Instance* instance)
+ : pp_instance_(instance->pp_instance()) {
+}
+
+} // namespace pp
« no previous file with comments | « ppapi/cpp/instance_handle.h ('k') | ppapi/cpp/module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698