Update printing code

This commit is contained in:
Cheng Zhao 2017-04-13 19:11:16 +09:00
parent 326908cebb
commit 6da696b6f2
7 changed files with 23 additions and 21 deletions

View file

@ -47,7 +47,7 @@ int32_t PepperPDFHost::OnHostMsgDidStartLoading(
if (!render_frame)
return PP_ERROR_FAILED;
render_frame->DidStartLoading();
render_frame->PluginDidStartLoading();
return PP_OK;
}
@ -57,7 +57,7 @@ int32_t PepperPDFHost::OnHostMsgDidStopLoading(
if (!render_frame)
return PP_ERROR_FAILED;
render_frame->DidStopLoading();
render_frame->PluginDidStopLoading();
return PP_OK;
}