| Index: native_client_sdk/src/examples/demo/life_simd/life.cc
|
| diff --git a/native_client_sdk/src/examples/demo/life_simd/life.cc b/native_client_sdk/src/examples/demo/life_simd/life.cc
|
| index e784b99981c8c71b838a781bee7a0d19895a6fc6..b99f2bc934f2d55d122522dc3f220e5e18a18034 100644
|
| --- a/native_client_sdk/src/examples/demo/life_simd/life.cc
|
| +++ b/native_client_sdk/src/examples/demo/life_simd/life.cc
|
| @@ -14,6 +14,7 @@
|
| #include <ppapi/c/ppb_input_event.h>
|
| #include <ppapi/cpp/fullscreen.h>
|
| #include <ppapi/cpp/input_event.h>
|
| +#include <ppapi/cpp/instance_handle.h>
|
| #include <ppapi/cpp/var.h>
|
| #include <ppapi/cpp/var_array.h>
|
| #include <ppapi/cpp/var_array_buffer.h>
|
| @@ -274,7 +275,7 @@ void Life::HandleEvent(PSEvent* ps_event) {
|
| }
|
|
|
| case PP_INPUTEVENT_TYPE_KEYDOWN: {
|
| - pp::Fullscreen fullscreen(PSInstance::GetInstance());
|
| + pp::Fullscreen fullscreen((pp::InstanceHandle(PSGetInstanceId())));
|
| bool isFullscreen = fullscreen.IsFullscreen();
|
| fullscreen.SetFullscreen(!isFullscreen);
|
| break;
|
|
|