m_animationFramePending = false;
TemporaryChange<bool> servicing(m_servicingAnimations, true);
- WillBeHeapVector<RefPtrWillBeMember<Document> > documents;
+ WillBeHeapVector<RefPtrWillBeMember<Document>> documents;
for (Frame* frame = m_page->mainFrame(); frame; frame = frame->tree().traverseNext()) {
if (frame->isLocalFrame())
documents.append(toLocalFrame(frame)->document());
documents[i]->view()->serviceScrollAnimations(monotonicAnimationStartTime);
if (const FrameView::ScrollableAreaSet* scrollableAreas = documents[i]->view()->scrollableAreas()) {
- for (FrameView::ScrollableAreaSet::iterator it = scrollableAreas->begin(); it != scrollableAreas->end(); ++it)
- (*it)->serviceScrollAnimations(monotonicAnimationStartTime);
+ for (ScrollableArea* scrollableArea : *scrollableAreas)
+ scrollableArea->serviceScrollAnimations(monotonicAnimationStartTime);
}
}
}
void PageAnimator::updateLayoutAndStyleForPainting(LocalFrame* rootFrame)
{
- RefPtr<FrameView> view = rootFrame->view();
+ RefPtrWillBeRawPtr<FrameView> view = rootFrame->view();
TemporaryChange<bool> servicing(m_updatingLayoutAndStyleForPainting, true);