Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: Source/core/page/PageAnimator.cpp

Issue 342553007: Oilpan: build fix after r176427 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "core/page/PageAnimator.h" 6 #include "core/page/PageAnimator.h"
7 7
8 #include "core/animation/DocumentAnimations.h" 8 #include "core/animation/DocumentAnimations.h"
9 #include "core/dom/Document.h" 9 #include "core/dom/Document.h"
10 #include "core/frame/FrameView.h" 10 #include "core/frame/FrameView.h"
(...skipping 21 matching lines...) Expand all
32 for (RefPtr<Frame> frame = m_page->mainFrame(); frame; frame = frame->tree() .traverseNext()) { 32 for (RefPtr<Frame> frame = m_page->mainFrame(); frame; frame = frame->tree() .traverseNext()) {
33 if (frame->isLocalFrame()) { 33 if (frame->isLocalFrame()) {
34 RefPtr<LocalFrame> localFrame = toLocalFrame(frame.get()); 34 RefPtr<LocalFrame> localFrame = toLocalFrame(frame.get());
35 localFrame->view()->serviceScrollAnimations(); 35 localFrame->view()->serviceScrollAnimations();
36 36
37 DocumentAnimations::updateAnimationTimingForAnimationFrame(*localFra me->document(), monotonicAnimationStartTime); 37 DocumentAnimations::updateAnimationTimingForAnimationFrame(*localFra me->document(), monotonicAnimationStartTime);
38 SVGDocumentExtensions::serviceOnAnimationFrame(*localFrame->document (), monotonicAnimationStartTime); 38 SVGDocumentExtensions::serviceOnAnimationFrame(*localFrame->document (), monotonicAnimationStartTime);
39 } 39 }
40 } 40 }
41 41
42 Vector<RefPtr<Document> > documents; 42 WillBeHeapVector<RefPtrWillBeMember<Document> > documents;
43 for (Frame* frame = m_page->mainFrame(); frame; frame = frame->tree().traver seNext()) { 43 for (Frame* frame = m_page->mainFrame(); frame; frame = frame->tree().traver seNext()) {
44 if (frame->isLocalFrame()) 44 if (frame->isLocalFrame())
45 documents.append(toLocalFrame(frame)->document()); 45 documents.append(toLocalFrame(frame)->document());
46 } 46 }
47 47
48 for (size_t i = 0; i < documents.size(); ++i) 48 for (size_t i = 0; i < documents.size(); ++i)
49 documents[i]->serviceScriptedAnimations(monotonicAnimationStartTime); 49 documents[i]->serviceScriptedAnimations(monotonicAnimationStartTime);
50 } 50 }
51 51
52 void PageAnimator::scheduleVisualUpdate() 52 void PageAnimator::scheduleVisualUpdate()
(...skipping 20 matching lines...) Expand all
73 // setFrameRect(). This will be a quick operation for most frames, but the 73 // setFrameRect(). This will be a quick operation for most frames, but the
74 // NativeWindowWidgets will update a proper clipping region. 74 // NativeWindowWidgets will update a proper clipping region.
75 view->setFrameRect(view->frameRect()); 75 view->setFrameRect(view->frameRect());
76 76
77 // setFrameRect may have the side-effect of causing existing page layout to 77 // setFrameRect may have the side-effect of causing existing page layout to
78 // be invalidated, so layout needs to be called last. 78 // be invalidated, so layout needs to be called last.
79 view->updateLayoutAndStyleForPainting(); 79 view->updateLayoutAndStyleForPainting();
80 } 80 }
81 81
82 } 82 }
OLDNEW
« Source/core/dom/NamedNodesCollection.h ('K') | « Source/core/dom/NamedNodesCollection.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698