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

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

Issue 1225583004: Revert of Add a FrameView lifecycle method that just updates layout, style and compositing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/core/page/ContextMenuControllerTest.cpp ('k') | Source/core/page/PrintContextTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/frame/FrameView.h" 9 #include "core/frame/FrameView.h"
10 #include "core/frame/LocalFrame.h" 10 #include "core/frame/LocalFrame.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 } 87 }
88 88
89 void PageAnimator::updateLayoutAndStyleForPainting(LocalFrame* rootFrame) 89 void PageAnimator::updateLayoutAndStyleForPainting(LocalFrame* rootFrame)
90 { 90 {
91 RefPtrWillBeRawPtr<FrameView> view = rootFrame->view(); 91 RefPtrWillBeRawPtr<FrameView> view = rootFrame->view();
92 92
93 TemporaryChange<bool> servicing(m_updatingLayoutAndStyleForPainting, true); 93 TemporaryChange<bool> servicing(m_updatingLayoutAndStyleForPainting, true);
94 94
95 // setFrameRect may have the side-effect of causing existing page layout to 95 // setFrameRect may have the side-effect of causing existing page layout to
96 // be invalidated, so layout needs to be called last. 96 // be invalidated, so layout needs to be called last.
97 view->updateAllLifecyclePhases(); 97 view->updateLayoutAndStyleForPainting();
98 } 98 }
99 99
100 } 100 }
OLDNEW
« no previous file with comments | « Source/core/page/ContextMenuControllerTest.cpp ('k') | Source/core/page/PrintContextTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698