-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adopt more smart pointers under WebCore/css/query
https://bugs.webkit.org/show_bug.cgi?id=267966 Reviewed by Darin Adler. * Source/WebCore/css/query/ContainerQueryFeatures.cpp: * Source/WebCore/css/query/GenericMediaQueryEvaluator.cpp: (WebCore::MQ::evaluateLengthComparison): (WebCore::MQ::evaluateNumberComparison): (WebCore::MQ::evaluateIntegerComparison): (WebCore::MQ::evaluateResolutionComparison): (WebCore::MQ::evaluateRatioComparison): (WebCore::MQ::evaluateBooleanFeature): * Source/WebCore/css/query/GenericMediaQueryParser.cpp: (WebCore::MQ::GenericMediaQueryParserBase::consumeBooleanOrPlainFeature): (WebCore::MQ::GenericMediaQueryParserBase::consumeRangeFeature): (WebCore::MQ::consumeRatioWithSlash): (WebCore::MQ::GenericMediaQueryParserBase::consumeValue): (WebCore::MQ::GenericMediaQueryParserBase::validateFeatureAgainstSchema): * Source/WebCore/css/query/GenericMediaQueryTypes.h: * Source/WebCore/css/query/MediaQueryEvaluator.cpp: (WebCore::MQ::MediaQueryEvaluator::MediaQueryEvaluator): (WebCore::MQ::MediaQueryEvaluator::evaluate const): * Source/WebCore/css/query/MediaQueryEvaluator.h: * Source/WebCore/css/query/MediaQueryFeatures.cpp: (WebCore::MQ::Features::deviceScaleFactor): (WebCore::MQ::Features::anyHover): (WebCore::MQ::Features::anyPointer): (WebCore::MQ::Features::aspectRatio): (WebCore::MQ::Features::color): (WebCore::MQ::Features::colorGamut): (WebCore::MQ::Features::deviceAspectRatio): (WebCore::MQ::Features::deviceHeight): (WebCore::MQ::Features::deviceWidth): (WebCore::MQ::Features::dynamicRange): (WebCore::MQ::Features::height): (WebCore::MQ::Features::hover): (WebCore::MQ::Features::invertedColors): (WebCore::MQ::Features::monochrome): (WebCore::MQ::Features::orientation): (WebCore::MQ::Features::pointer): (WebCore::MQ::Features::prefersContrast): (WebCore::MQ::Features::prefersDarkInterface): (WebCore::MQ::Features::prefersReducedMotion): (WebCore::MQ::Features::scripting): (WebCore::MQ::Features::transform3d): (WebCore::MQ::Features::update): (WebCore::MQ::Features::videoPlayableInline): (WebCore::MQ::Features::width): (WebCore::MQ::Features::displayMode): (WebCore::MQ::Features::overflowBlock): (WebCore::MQ::Features::prefersColorScheme): * Source/WebCore/page/Frame.cpp: (WebCore::Frame::protectedVirtualView const): * Source/WebCore/page/Frame.h: Canonical link: https://commits.webkit.org/273447@main
- Loading branch information
Showing
9 changed files
with
86 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.