| Index: pdf/out_of_process_instance.cc
|
| diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc
|
| index 8a692c9bc6260304d4926b08d012e1df6b804543..9e77ec616ac6e3689de8a7f901d4ad6408343546 100644
|
| --- a/pdf/out_of_process_instance.cc
|
| +++ b/pdf/out_of_process_instance.cc
|
| @@ -408,7 +408,7 @@ void OutOfProcessInstance::HandleMessage(const pp::Var& message) {
|
| pp::VarDictionary reply;
|
| reply.Set(pp::Var(kType), pp::Var(kJSGetAccessibilityJSONReplyType));
|
| if (dict.Get(pp::Var(kJSAccessibilityPageNumber)).is_int()) {
|
| - int page = pp::Var(kJSAccessibilityPageNumber).AsInt();
|
| + int page = dict.Get(pp::Var(kJSAccessibilityPageNumber)).AsInt();
|
| reply.Set(pp::Var(kJSAccessibilityJSON),
|
| pp::Var(engine_->GetPageAsJSON(page)));
|
| } else {
|
|
|