Repository: incubator-weex
Updated Branches:
  refs/heads/master 578c35716 -> 97967ae61


[WEEX-442][Core] Fix compile error


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/97967ae6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/97967ae6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/97967ae6

Branch: refs/heads/master
Commit: 97967ae61bb63a9dd10e4ae9447fdb26ece4285b
Parents: 578c357
Author: miomin <[email protected]>
Authored: Thu Jun 14 20:11:30 2018 +0800
Committer: miomin <[email protected]>
Committed: Thu Jun 14 20:11:30 2018 +0800

----------------------------------------------------------------------
 weex_core/Source/core/bridge/bridge.cpp | 7 -------
 weex_core/Source/core/bridge/bridge.h   | 2 --
 2 files changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/97967ae6/weex_core/Source/core/bridge/bridge.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/core/bridge/bridge.cpp 
b/weex_core/Source/core/bridge/bridge.cpp
index 22d9139..7668754 100644
--- a/weex_core/Source/core/bridge/bridge.cpp
+++ b/weex_core/Source/core/bridge/bridge.cpp
@@ -132,13 +132,6 @@ namespace WeexCore {
         }
     }
 
-    void Bridge::setViewPortWidth(const char *instanceId, float value) {
-        RenderPage *page = 
RenderManager::GetInstance()->GetPage(std::string(instanceId));
-         if (page == nullptr)
-           return;
-         page->set_viewport_width(value);
-    }
-
     void Bridge::setDefaultHeightAndWidthIntoRootDom(const char *instanceId, 
const float defaultWidth,
                                                      const float defaultHeight,
                                                      const bool 
isWidthWrapContent, const bool isHeightWrapContent) {

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/97967ae6/weex_core/Source/core/bridge/bridge.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/core/bridge/bridge.h 
b/weex_core/Source/core/bridge/bridge.h
index 8da0fdc..5aed446 100644
--- a/weex_core/Source/core/bridge/bridge.h
+++ b/weex_core/Source/core/bridge/bridge.h
@@ -114,8 +114,6 @@ namespace WeexCore {
 
     void markDirty(const char *instanceId,const  char *ref, bool dirty);
 
-    void setViewPortWidth(const char *instanceId, float value);
-
     void setDefaultHeightAndWidthIntoRootDom(const char *instanceId, const 
float defaultWidth, const float defaultHeight,
                                              const bool isWidthWrapContent, 
const bool isHeightWrapContent);
     void setRenderContainerWrapContent(const char* instanceId,bool wrap);

Reply via email to