Skip to content

Commit

Permalink
Revert initialization of event emits during initial rendering in Fabric
Browse files Browse the repository at this point in the history
Summary:
Original commit changeset: 0b56b7495db6

Original Phabricator Diff: D53108114

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: philIip

Differential Revision: D53746331

fbshipit-source-id: 95daf5660845eb9a5dd84da85833727aed4e65e3
  • Loading branch information
mdvacca authored and facebook-github-bot committed Feb 14, 2024
1 parent 3b2c4a1 commit cc2a73a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ public float getEffectiveMaxFontSizeMultiplier() {
: DEFAULT_MAX_FONT_SIZE_MULTIPLIER;
}

@Override
public String toString() {
return ("TextAttributes {"
+ "\n getAllowFontScaling(): "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -810,11 +810,6 @@ void FabricMountingManager::preallocateShadowView(

// Do not hold a reference to javaEventEmitter from the C++ side.
jni::local_ref<EventEmitterWrapper::JavaPart> javaEventEmitter = nullptr;
SharedEventEmitter eventEmitter = shadowView.eventEmitter;
if (eventEmitter != nullptr) {
javaEventEmitter =
EventEmitterWrapper::newObjectCxxArgs(shadowView.eventEmitter);
}

jni::local_ref<jobject> props = getProps({}, shadowView);

Expand Down

0 comments on commit cc2a73a

Please sign in to comment.