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

Unified Diff: ppapi/cpp/graphics_3d_client.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/graphics_3d_client.h ('k') | ppapi/cpp/instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/graphics_3d_client.cc
diff --git a/ppapi/cpp/graphics_3d_client.cc b/ppapi/cpp/graphics_3d_client.cc
index 6702c057e0836a4e1dab34cd747d0df478e00fd7..a00d2f3db99185451a5aeda0d794c1aefe193573 100644
--- a/ppapi/cpp/graphics_3d_client.cc
+++ b/ppapi/cpp/graphics_3d_client.cc
@@ -30,11 +30,11 @@ static PPP_Graphics3D graphics3d_interface = {
} // namespace
-Graphics3DClient::Graphics3DClient(const InstanceHandle& instance)
+Graphics3DClient::Graphics3DClient(Instance* instance)
: associated_instance_(instance) {
Module::Get()->AddPluginInterface(kPPPGraphics3DInterface,
&graphics3d_interface);
- Instance::AddPerInstanceObject(instance, kPPPGraphics3DInterface, this);
+ instance->AddPerInstanceObject(kPPPGraphics3DInterface, this);
}
Graphics3DClient::~Graphics3DClient() {
« no previous file with comments | « ppapi/cpp/graphics_3d_client.h ('k') | ppapi/cpp/instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698