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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/VisualViewport.h
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.h b/third_party/WebKit/Source/core/frame/VisualViewport.h
index 0fa9a66f840cfbadffd51c68c6f2d3e26ec51fbd..749c3a291e86c3044f03183cfc632d2aa459fd2f 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.h
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.h
@@ -61,12 +61,12 @@ class LocalFrame;
// offset is set through the GraphicsLayer <-> CC sync mechanisms. Its contents is the page's
// main FrameView, which corresponds to the outer viewport. The inner viewport is always contained
// in the outer viewport and can pan within it.
-class CORE_EXPORT VisualViewport final : public NoBaseWillBeGarbageCollectedFinalized<VisualViewport>, public GraphicsLayerClient, public ScrollableArea {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(VisualViewport);
+class CORE_EXPORT VisualViewport final : public GarbageCollectedFinalized<VisualViewport>, public GraphicsLayerClient, public ScrollableArea {
+ USING_GARBAGE_COLLECTED_MIXIN(VisualViewport);
public:
- static PassOwnPtrWillBeRawPtr<VisualViewport> create(FrameHost& host)
+ static RawPtr<VisualViewport> create(FrameHost& host)
{
- return adoptPtrWillBeNoop(new VisualViewport(host));
+ return new VisualViewport(host);
}
~VisualViewport() override;
@@ -228,7 +228,7 @@ private:
return *m_frameHost;
}
- RawPtrWillBeMember<FrameHost> m_frameHost;
+ Member<FrameHost> m_frameHost;
OwnPtr<GraphicsLayer> m_rootTransformLayer;
OwnPtr<GraphicsLayer> m_innerViewportContainerLayer;
OwnPtr<GraphicsLayer> m_overscrollElasticityLayer;
« no previous file with comments | « third_party/WebKit/Source/core/frame/TopControls.h ('k') | third_party/WebKit/Source/core/frame/csp/CSPDirective.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698