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

Unified Diff: Source/core/testing/LayerRect.h

Issue 1104243003: Oilpan: put ClientRect(List) on the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove transition types uses also Created 5 years, 8 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: Source/core/testing/LayerRect.h
diff --git a/Source/core/testing/LayerRect.h b/Source/core/testing/LayerRect.h
index 505e21daae5f36363ac6495e64ca4cf7572cc13d..7930471d4dcbbb00d8416b4b7107bb77cdc4bd6d 100644
--- a/Source/core/testing/LayerRect.h
+++ b/Source/core/testing/LayerRect.h
@@ -46,7 +46,7 @@ class Node;
class LayerRect final : public GarbageCollectedFinalized<LayerRect>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static LayerRect* create(PassRefPtrWillBeRawPtr<Node> node, const String& layerType, int nodeOffsetX, int nodeOffsetY, PassRefPtrWillBeRawPtr<ClientRect> rect)
+ static LayerRect* create(PassRefPtrWillBeRawPtr<Node> node, const String& layerType, int nodeOffsetX, int nodeOffsetY, ClientRect* rect)
{
return new LayerRect(node, layerType, nodeOffsetX, nodeOffsetY, rect);
}
@@ -64,7 +64,7 @@ public:
}
private:
- LayerRect(PassRefPtrWillBeRawPtr<Node> node, const String& layerName, int nodeOffsetX, int nodeOffsetY, PassRefPtrWillBeRawPtr<ClientRect> rect)
+ LayerRect(PassRefPtrWillBeRawPtr<Node> node, const String& layerName, int nodeOffsetX, int nodeOffsetY, ClientRect* rect)
: m_layerAssociatedNode(node)
, m_layerType(layerName)
, m_associatedNodeOffsetX(nodeOffsetX)
@@ -75,7 +75,7 @@ private:
String m_layerType;
int m_associatedNodeOffsetX;
int m_associatedNodeOffsetY;
- RefPtrWillBeMember<ClientRect> m_rect;
+ Member<ClientRect> m_rect;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698