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

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, 10 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 407af15c7ae4d820461f57251f9038c6e86a3e74..6a47fccdbf057a7833bd24a362bffd59677a8f7f 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.h
@@ -56,9 +56,9 @@ typedef String ErrorString;
class CORE_EXPORT InspectorLayerTreeAgent final : public InspectorBaseAgent<InspectorLayerTreeAgent, InspectorFrontend::LayerTree>, public InspectorBackendDispatcher::LayerTreeCommandHandler {
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();
@@ -103,7 +103,7 @@ private:
void gatherGraphicsLayers(GraphicsLayer*, HashMap<int, int>& layerIdToNodeIdMap, RefPtr<TypeBuilder::Array<TypeBuilder::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