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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.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/inspector/InspectorLayerTreeAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.h b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.h
index bb3420688618ea8c0cc2181ff401204303ab1202..23d6b7e6499e573d6a3cd50646a7f031ca7a22fb 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.h
@@ -53,9 +53,9 @@ class PaintLayerCompositor;
class CORE_EXPORT InspectorLayerTreeAgent final : public InspectorBaseAgent<InspectorLayerTreeAgent, protocol::Frontend::LayerTree>, public protocol::Backend::LayerTree {
WTF_MAKE_NONCOPYABLE(InspectorLayerTreeAgent);
public:
- static PassOwnPtrWillBeRawPtr<InspectorLayerTreeAgent> create(InspectedFrames* inspectedFrames)
+ static RawPtr<InspectorLayerTreeAgent> create(InspectedFrames* inspectedFrames)
{
- return adoptPtrWillBeNoop(new InspectorLayerTreeAgent(inspectedFrames));
+ return new InspectorLayerTreeAgent(inspectedFrames);
}
~InspectorLayerTreeAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -100,7 +100,7 @@ private:
void gatherGraphicsLayers(GraphicsLayer*, HashMap<int, int>& layerIdToNodeIdMap, OwnPtr<protocol::Array<protocol::LayerTree::Layer>>&, bool hasWheelEventHandlers, int scrollingRootLayerId);
int idForNode(Node*);
- RawPtrWillBeMember<InspectedFrames> m_inspectedFrames;
+ Member<InspectedFrames> m_inspectedFrames;
Vector<int, 2> m_pageOverlayLayerIds;
typedef HashMap<String, RefPtr<PictureSnapshot>> SnapshotById;

Powered by Google App Engine
This is Rietveld 408576698