Skip to content

Commit

Permalink
Move methods related to the deprecated `CSSIndividualTransformPropert…
Browse files Browse the repository at this point in the history
…iesEnabled` into `WebPrivateDeprecated`

https://bugs.webkit.org/show_bug.cgi?id=265400
rdar://118846045

Reviewed by Tim Nguyen.

This should have been done as part of 271133@main as Tim Nguyen pointed out.

* Source/WebKitLegacy/mac/WebView/WebPreferences.mm:
(-[WebPreferences CSSIndividualTransformPropertiesEnabled]):
(-[WebPreferences setCSSIndividualTransformPropertiesEnabled:]):
* Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h:

Canonical link: https://commits.webkit.org/271191@main
  • Loading branch information
graouts committed Nov 28, 2023
1 parent d142435 commit c20f548
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions Source/WebKitLegacy/mac/WebView/WebPreferences.mm
Original file line number Diff line number Diff line change
Expand Up @@ -3046,15 +3046,6 @@ - (void)setMediaRecorderEnabled:(BOOL)flag
[self _setBoolValue:flag forKey:WebKitMediaRecorderEnabledPreferenceKey];
}

- (BOOL)CSSIndividualTransformPropertiesEnabled
{
return YES;
}

- (void)setCSSIndividualTransformPropertiesEnabled:(BOOL)flag
{
}

- (BOOL)_speechRecognitionEnabled
{
return [self _boolValueForKey:WebKitSpeechRecognitionEnabledPreferenceKey];
Expand Down Expand Up @@ -3339,4 +3330,13 @@ - (void)setLineHeightUnitsEnabled:(BOOL)flag
{
}

- (BOOL)CSSIndividualTransformPropertiesEnabled
{
return YES;
}

- (void)setCSSIndividualTransformPropertiesEnabled:(BOOL)flag
{
}

@end
2 changes: 1 addition & 1 deletion Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ extern NSString *WebPreferencesCacheModelChangedInternalNotification WEBKIT_DEPR
@property (nonatomic) BOOL readableByteStreamAPIEnabled;
@property (nonatomic) BOOL mediaRecorderEnabled;
@property (nonatomic, setter=_setMediaRecorderEnabled:) BOOL _mediaRecorderEnabled;
@property (nonatomic) BOOL CSSIndividualTransformPropertiesEnabled;
@property (nonatomic) BOOL contactPickerAPIEnabled;
@property (nonatomic, setter=_setSpeechRecognitionEnabled:) BOOL _speechRecognitionEnabled;
@property (nonatomic, setter=_setPitchCorrectionAlgorithm:) WebKitPitchCorrectionAlgorithm _pitchCorrectionAlgorithm;
Expand Down Expand Up @@ -356,6 +355,7 @@ extern NSString *WebPreferencesCacheModelChangedInternalNotification WEBKIT_DEPR
@property (nonatomic) BOOL displayListDrawingEnabled;
@property (nonatomic) BOOL transformStreamAPIEnabled;
@property (nonatomic) BOOL lineHeightUnitsEnabled;
@property (nonatomic) BOOL CSSIndividualTransformPropertiesEnabled;

- (void)setDiskImageCacheEnabled:(BOOL)enabled;

Expand Down

0 comments on commit c20f548

Please sign in to comment.