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

Unified Diff: Source/core/dom/NodeRenderingTraversal.h

Issue 791043002: Oilpan: tidy up definition of some stack-allocated scope objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | Source/core/editing/Editor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NodeRenderingTraversal.h
diff --git a/Source/core/dom/NodeRenderingTraversal.h b/Source/core/dom/NodeRenderingTraversal.h
index 623343a54e4df4dd2bbe2b39fc4153325643e325..a54b10214a23ab3ebe90c6c8655c95a0ec4b901a 100644
--- a/Source/core/dom/NodeRenderingTraversal.h
+++ b/Source/core/dom/NodeRenderingTraversal.h
@@ -37,9 +37,10 @@ class RenderObject;
namespace NodeRenderingTraversal {
class ParentDetails {
+ STACK_ALLOCATED();
public:
ParentDetails()
- : m_insertionPoint(0)
+ : m_insertionPoint(nullptr)
{ }
const InsertionPoint* insertionPoint() const { return m_insertionPoint; }
@@ -52,7 +53,7 @@ public:
}
private:
- const InsertionPoint* m_insertionPoint;
+ RawPtrWillBeMember<const InsertionPoint> m_insertionPoint;
};
ContainerNode* parent(const Node&, ParentDetails* = 0);
« no previous file with comments | « no previous file | Source/core/editing/Editor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698