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

Unified Diff: ppapi/cpp/dev/zoom_dev.cc

Issue 9481015: Make the PPP wrappers take an Instance*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USELESS PATCH DESCRIPTION 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/dev/zoom_dev.h ('k') | ppapi/cpp/graphics_3d_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/zoom_dev.cc
diff --git a/ppapi/cpp/dev/zoom_dev.cc b/ppapi/cpp/dev/zoom_dev.cc
index 4e9f78ff70925f009ed6116ee4484c3afa14f05c..0b19c09935a146cff0a49c8e2eac13f16bcc7a3a 100644
--- a/ppapi/cpp/dev/zoom_dev.cc
+++ b/ppapi/cpp/dev/zoom_dev.cc
@@ -35,10 +35,9 @@ template <> const char* interface_name<PPB_Zoom_Dev>() {
} // namespace
-Zoom_Dev::Zoom_Dev(const InstanceHandle& instance)
- : associated_instance_(instance) {
+Zoom_Dev::Zoom_Dev(Instance* instance) : associated_instance_(instance) {
Module::Get()->AddPluginInterface(kPPPZoomInterface, &ppp_zoom);
- Instance::AddPerInstanceObject(instance, kPPPZoomInterface, this);
+ instance->AddPerInstanceObject(kPPPZoomInterface, this);
}
Zoom_Dev::~Zoom_Dev() {
« no previous file with comments | « ppapi/cpp/dev/zoom_dev.h ('k') | ppapi/cpp/graphics_3d_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698