Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[WEEX-442][Core] Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
miomin committed Jun 14, 2018
1 parent 578c357 commit 97967ae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions weex_core/Source/core/bridge/bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 0 additions & 2 deletions weex_core/Source/core/bridge/bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 97967ae

Please sign in to comment.