WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
126493
Prepare the ScrollingTree for remote use
https://bugs.webkit.org/show_bug.cgi?id=126493
Summary
Prepare the ScrollingTree for remote use
Simon Fraser (smfr)
Reported
2014-01-04 13:00:45 PST
Prepare the ScrollingTree for remote use
Attachments
Patch
(15.19 KB, patch)
2014-01-04 13:05 PST
,
Simon Fraser (smfr)
sam
: review+
eflews.bot
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2014-01-04 13:05:17 PST
Created
attachment 220379
[details]
Patch
Sam Weinig
Comment 2
2014-01-04 13:10:23 PST
Comment on
attachment 220379
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=220379&action=review
> Source/WebCore/page/scrolling/ScrollingStateFixedNode.cpp:76 > + static_cast<GraphicsLayer*>(layer())->syncPosition(position);
Should we have some checked casts for this?
> Source/WebCore/page/scrolling/ScrollingStateScrollingNode.cpp:79 > // The cloned tree references PlatformLayers, which are safe to send to the scrolling thread. > // FIXME: this Mac threaded-scrolling assumption doesn't belong here.
Does this comment still hold? You removed a similar one above.
> Source/WebCore/page/scrolling/ScrollingStateStickyNode.cpp:76 > + static_cast<GraphicsLayer*>(layer())->syncPosition(position);
Checked cast?
> Source/WebCore/page/scrolling/ScrollingStateTree.cpp:201 > +void ScrollingStateTree::setRemovedNodes(const Vector<ScrollingNodeID>& nodes) > +{ > + m_nodesRemovedSinceLastCommit = nodes; > +}
Does this do a copy? Can we make it a move?
> Source/WebCore/page/scrolling/ScrollingStateTree.cpp:208 > + StateNodeMap::const_iterator it = m_stateNodeMap.find(scrollLayerID);
auto?
EFL EWS Bot
Comment 3
2014-01-04 13:10:53 PST
Comment on
attachment 220379
[details]
Patch
Attachment 220379
[details]
did not pass efl-wk2-ews (efl-wk2): Output:
http://webkit-queues.appspot.com/results/5966973905141760
Simon Fraser (smfr)
Comment 4
2014-01-04 13:44:24 PST
http://trac.webkit.org/changeset/161315
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug