RESOLVED FIXED 132353
Remove some PLATFORM(IOS) #ifdefs related to hasAcceleratedTouchScrolling()
https://bugs.webkit.org/show_bug.cgi?id=132353
Summary Remove some PLATFORM(IOS) #ifdefs related to hasAcceleratedTouchScrolling()
Simon Fraser (smfr)
Reported 2014-04-29 14:20:58 PDT
Remove some PLATFORM(IOS) #ifdefs related to hasAcceleratedTouchScrolling()
Attachments
Patch (12.46 KB, patch)
2014-04-29 14:24 PDT, Simon Fraser (smfr)
no flags
Patch (12.49 KB, patch)
2014-04-29 15:09 PDT, Simon Fraser (smfr)
darin: review+
Simon Fraser (smfr)
Comment 1 2014-04-29 14:24:09 PDT
WebKit Commit Bot
Comment 2 2014-04-29 14:26:51 PDT
Attachment 230418 [details] did not pass style-queue: ERROR: Source/WebCore/rendering/RenderLayerBacking.cpp:406: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 3 2014-04-29 15:09:53 PDT
WebKit Commit Bot
Comment 4 2014-04-29 15:12:21 PDT
Attachment 230427 [details] did not pass style-queue: ERROR: Source/WebCore/rendering/RenderLayerBacking.cpp:406: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Darin Adler
Comment 5 2014-04-29 15:56:02 PDT
Comment on attachment 230427 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=230427&action=review > Source/WebCore/rendering/RenderLayerBacking.cpp:-412 > -// FIXME: We should merge the concept of RenderLayer::{hasAcceleratedTouchScrolling, needsCompositedScrolling}() > -// so that we can remove this iOS-specific variant. Don’t we still want something like this FIXME? > Source/WebCore/rendering/RenderLayerBacking.cpp:443 > + return (style.transformOriginX().type() == Fixed && style.transformOriginX().value()) > + || (style.transformOriginY().type() == Fixed && style.transformOriginY().value()); I don’t think we need these parentheses.
Simon Fraser (smfr)
Comment 6 2014-04-29 16:54:50 PDT
Note You need to log in before you can comment on or make changes to this bug.