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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2505543002: Move FrameView timers to WebFrameScheduler. (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index bddc5229f24f56c833dbb797afd97dca7b80bcb2..fba3907f684131b3dfda7eb454f571bef5593ffa 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -100,8 +100,8 @@ class CORE_EXPORT FrameView final
friend class LayoutPart; // for invalidateTreeIfNeeded
public:
- static FrameView* create(LocalFrame*);
- static FrameView* create(LocalFrame*, const IntSize& initialSize);
+ static FrameView* create(LocalFrame&);
+ static FrameView* create(LocalFrame&, const IntSize& initialSize);
~FrameView() override;
@@ -794,7 +794,7 @@ class CORE_EXPORT FrameView final
void invalidateTreeIfNeeded(const PaintInvalidationState&);
private:
- explicit FrameView(LocalFrame*);
+ explicit FrameView(LocalFrame&);
class ScrollbarManager : public blink::ScrollbarManager {
DISALLOW_NEW();
@@ -977,8 +977,8 @@ class CORE_EXPORT FrameView final
bool m_inSynchronousPostLayout;
int m_layoutCount;
unsigned m_nestedLayoutCount;
- Timer<FrameView> m_postLayoutTasksTimer;
- Timer<FrameView> m_updateWidgetsTimer;
+ TaskRunnerTimer<FrameView> m_postLayoutTasksTimer;
+ TaskRunnerTimer<FrameView> m_updateWidgetsTimer;
bool m_firstLayout;
bool m_isTransparent;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698