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

Unified Diff: Source/core/dom/Element.cpp

Issue 211073002: [Oilpan]: Move CSSFontSelectorClient to the oilpan heap using transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adding StyleEngine.cpp change (forgot to upload diff again with WTF change) Created 6 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: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 1833913e779fb098b83c36652c200fc56face347..89a9ec7e69d5d4bc83c28d70b893fbdfcce5786b 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -111,10 +111,11 @@ using namespace HTMLNames;
using namespace XMLNames;
class StyleResolverParentPusher {
+ STACK_ALLOCATED();
public:
explicit StyleResolverParentPusher(Element& parent)
: m_parent(parent)
- , m_pushedStyleResolver(0)
+ , m_pushedStyleResolver(nullptr)
{
}
void push()
@@ -141,7 +142,7 @@ public:
private:
Element& m_parent;
- StyleResolver* m_pushedStyleResolver;
+ RawPtrWillBeMember<StyleResolver> m_pushedStyleResolver;
};
typedef Vector<RefPtr<Attr> > AttrNodeList;

Powered by Google App Engine
This is Rietveld 408576698