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

Unified Diff: ppapi/cpp/dev/widget_client_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/widget_client_dev.h ('k') | ppapi/cpp/dev/zoom_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/widget_client_dev.cc
diff --git a/ppapi/cpp/dev/widget_client_dev.cc b/ppapi/cpp/dev/widget_client_dev.cc
index f170e159e07a389894199e01db2d1ee419102a81..731f2922778e762a8ac210883d940c81d7582cf0 100644
--- a/ppapi/cpp/dev/widget_client_dev.cc
+++ b/ppapi/cpp/dev/widget_client_dev.cc
@@ -69,13 +69,13 @@ static PPP_Scrollbar_Dev scrollbar_interface = {
} // namespace
-WidgetClient_Dev::WidgetClient_Dev(const InstanceHandle& instance)
+WidgetClient_Dev::WidgetClient_Dev(Instance* instance)
: associated_instance_(instance) {
Module::Get()->AddPluginInterface(kPPPWidgetInterface, &widget_interface);
- Instance::AddPerInstanceObject(instance, kPPPWidgetInterface, this);
+ instance->AddPerInstanceObject(kPPPWidgetInterface, this);
Module::Get()->AddPluginInterface(kPPPScrollbarInterface,
&scrollbar_interface);
- Instance::AddPerInstanceObject(instance, kPPPScrollbarInterface, this);
+ instance->AddPerInstanceObject(kPPPScrollbarInterface, this);
}
WidgetClient_Dev::~WidgetClient_Dev() {
« no previous file with comments | « ppapi/cpp/dev/widget_client_dev.h ('k') | ppapi/cpp/dev/zoom_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698