| Index: ppapi/cpp/instance.cc
|
| diff --git a/ppapi/cpp/instance.cc b/ppapi/cpp/instance.cc
|
| index 72e4f0295fe4f5d5b32d99488e2f8eb1a2b37ffa..e42adf62ddd25e0f521761b79b02cca3acbc3936 100644
|
| --- a/ppapi/cpp/instance.cc
|
| +++ b/ppapi/cpp/instance.cc
|
| @@ -17,6 +17,7 @@
|
| #include "ppapi/cpp/point.h"
|
| #include "ppapi/cpp/resource.h"
|
| #include "ppapi/cpp/var.h"
|
| +#include "ppapi/cpp/view.h"
|
|
|
| namespace pp {
|
|
|
| @@ -54,6 +55,11 @@ bool Instance::Init(uint32_t /*argc*/, const char* /*argn*/[],
|
| return true;
|
| }
|
|
|
| +void Instance::DidChangeView(const View& view) {
|
| + // Call the deprecated version for source backwards-compat.
|
| + DidChangeView(view.GetRect(), view.GetClipRect());
|
| +}
|
| +
|
| void Instance::DidChangeView(const pp::Rect& /*position*/,
|
| const pp::Rect& /*clip*/) {
|
| }
|
|
|