You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by GitBox <gi...@apache.org> on 2018/09/14 08:32:00 UTC

[GitHub] YorkShen closed pull request #1525: [core] fix setViewPort not valid problem

YorkShen closed pull request #1525: [core] fix setViewPort not valid problem
URL: https://github.com/apache/incubator-weex/pull/1525
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/weex_core/Source/core/bridge/script/core_side_in_script.cpp b/weex_core/Source/core/bridge/script/core_side_in_script.cpp
index fd295b1b31..0e644be02c 100644
--- a/weex_core/Source/core/bridge/script/core_side_in_script.cpp
+++ b/weex_core/Source/core/bridge/script/core_side_in_script.cpp
@@ -86,6 +86,9 @@ std::unique_ptr<ValueWithType> CoreSideInScript::CallNativeModule(
   ret->type = ParamsType::INT32;
   ret->value.int32Value = -1;
   if (page_id != nullptr && module != nullptr && method != nullptr) {
+    RenderManager::GetInstance()->CallNativeModule(page_id, module, method,
+                                                   arguments, arguments_length,
+                                                   options, options_length);
     return WeexCoreManager::Instance()
         ->getPlatformBridge()
         ->platform_side()


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services