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

[WEEX-442][Core] Fix compile error #1272

Merged
merged 1 commit into from
Jun 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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