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

Unified Diff: ppapi/cpp/dev/printing_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/printing_dev.h ('k') | ppapi/cpp/dev/selection_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/printing_dev.cc
diff --git a/ppapi/cpp/dev/printing_dev.cc b/ppapi/cpp/dev/printing_dev.cc
index 26fff41f677ae70446547bc0f1a36a1b3ed5a7a0..72affff56a1f27872d40e7033793799fc8290b3e 100644
--- a/ppapi/cpp/dev/printing_dev.cc
+++ b/ppapi/cpp/dev/printing_dev.cc
@@ -70,10 +70,10 @@ const PPP_Printing_Dev ppp_printing = {
} // namespace
-Printing_Dev::Printing_Dev(const InstanceHandle& instance)
+Printing_Dev::Printing_Dev(Instance* instance)
: associated_instance_(instance) {
Module::Get()->AddPluginInterface(kPPPPrintingInterface, &ppp_printing);
- Instance::AddPerInstanceObject(instance, kPPPPrintingInterface, this);
+ instance->AddPerInstanceObject(kPPPPrintingInterface, this);
}
Printing_Dev::~Printing_Dev() {
« no previous file with comments | « ppapi/cpp/dev/printing_dev.h ('k') | ppapi/cpp/dev/selection_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698