diff options
Diffstat (limited to 'ppapi/cpp/module.cc')
-rw-r--r-- | ppapi/cpp/module.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ppapi/cpp/module.cc b/ppapi/cpp/module.cc index b727e46..fd130ad 100644 --- a/ppapi/cpp/module.cc +++ b/ppapi/cpp/module.cc @@ -36,6 +36,7 @@ #include "ppapi/cpp/resource.h" #include "ppapi/cpp/url_loader.h" #include "ppapi/cpp/var.h" +#include "ppapi/cpp/view.h" namespace pp { @@ -89,15 +90,14 @@ void Instance_DidDestroy(PP_Instance instance) { } void Instance_DidChangeView(PP_Instance pp_instance, - const PP_Rect* position, - const PP_Rect* clip) { + PP_Resource view_resource) { Module* module_singleton = Module::Get(); if (!module_singleton) return; Instance* instance = module_singleton->InstanceForPPInstance(pp_instance); if (!instance) return; - instance->DidChangeView(*position, *clip); + instance->DidChangeView(View(view_resource)); } void Instance_DidChangeFocus(PP_Instance pp_instance, PP_Bool has_focus) { |