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

Commit

Permalink
* [core] Fix compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
miomin committed May 16, 2018
1 parent 02d9983 commit 97da4cb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions weex_core/Source/android/bridge/impl/bridge_impl_android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,6 @@ namespace WeexCore {
env->DeleteLocalRef(jPaddings);
env->DeleteLocalRef(jBorders);

if (page != nullptr)
page->CallBridgeTime(getCurrentTime() - startTime);
return flag;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ static jlong CopyRenderObject(JNIEnv* env, jclass jcaller, jlong ptr){
}

static void showRenderObjectLayout(RenderObject *renderObject, int level){
LOGE("RenderObject", "layout %s %d %p %f %f %f %f ", renderObject->Type().c_str(),
renderObject->getStypePositionType(),
renderObject, renderObject->getLayoutHeight(), renderObject->getLayoutWidth(),
renderObject->getLayoutPositionLeft(), renderObject->getLayoutPositionRight());
for(auto it = renderObject->ChildListIterBegin(); it != renderObject->ChildListIterEnd(); it++){
RenderObject* child = static_cast<RenderObject*>(*it);
showRenderObjectLayout(child, level + 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,5 @@ namespace WeexCore {
Bridge_Impl_Android::getInstance()->callAddElement(mPageId.c_str(), mComponentType.c_str(), mRef.c_str(),
mIndex, mParentRef.c_str(), mStyles, mAttributes,
mEvents, mMargins, mPaddings, mBorders, mWillLayout);
page->JniCallTime(getCurrentTime() - startTime);
page->AddElementActionJNITime(getCurrentTime() - startTime);
}
}

0 comments on commit 97da4cb

Please sign in to comment.