Skip to content

Commit

Permalink
Revert unreleased layout debug method name change from TextureGroup#1030
Browse files Browse the repository at this point in the history
 #trivial (TextureGroup#1039)

* Revert unreleased layout debugging method name change from TextureGroup#1030 #trivial

* Eh make less changes
  • Loading branch information
Adlai-Holler authored and mikezucc committed Oct 2, 2018
1 parent 0e0244e commit d4ab7ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Source/Layout/ASLayout.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,11 @@ AS_EXTERN ASLayout *ASCalculateLayout(id<ASLayoutElement>layoutElement, const AS

/**
* Set to YES to tell all ASLayout instances to retain their sublayout elements. Defaults to NO.
* See `-retainSublayoutElements` to control this per-instance.
* See `-retainSublayoutLayoutElements` to control this per-instance.
*
* Note: Weaver relies on this API.
*/
@property (class) BOOL shouldRetainSublayoutElements;
@property (class) BOOL shouldRetainSublayoutLayoutElements;

/**
* Recrusively output the description of the layout tree.
Expand Down
3 changes: 0 additions & 3 deletions Source/Layout/ASLayout.mm
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ @interface ASLayout () <ASDescriptionProvider>
std::atomic_bool _retainSublayoutElements;
}

/// Call this to keep sublayout elements alive. Multiple calls have no effect.
- (void)retainSublayoutElements;

@property (nonatomic, readonly) ASRectMap *elementToRectMap;

@end
Expand Down

0 comments on commit d4ab7ab

Please sign in to comment.