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

Unified Diff: Source/core/css/resolver/StyleResolverState.h

Issue 208313010: Replace raw pointers to GC allocated objects by members in stack allocated objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/css/resolver/StyleResolverState.h
diff --git a/Source/core/css/resolver/StyleResolverState.h b/Source/core/css/resolver/StyleResolverState.h
index a23f9da7bd9f7b7d7bc7d54b5d91a7d452de4c01..cfc0b32b99eb0e7da0c591190c3bf8d94bdad9a7 100644
--- a/Source/core/css/resolver/StyleResolverState.h
+++ b/Source/core/css/resolver/StyleResolverState.h
@@ -158,7 +158,7 @@ private:
bool m_applyPropertyToRegularStyle;
bool m_applyPropertyToVisitedLinkStyle;
- CSSValue* m_lineHeightValue;
+ RawPtrWillBeMember<CSSValue> m_lineHeightValue;
FontBuilder m_fontBuilder;
@@ -170,7 +170,7 @@ private:
CSSToStyleMap m_styleMap;
Vector<AtomicString> m_contentAttrValues;
- StyleRule* m_currentRule;
+ RawPtrWillBeMember<StyleRule> m_currentRule;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698