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

Unified Diff: Source/core/html/HTMLLinkElement.cpp

Issue 170283019: Change various helper classes to transition types to get CSSValue entirely onto the gc heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and revert member to persistent in StorageEvent Created 6 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: Source/core/html/HTMLLinkElement.cpp
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
index fbb7a1a97986d7c41135cd2e37e4d288f299d37b..e46d693f0f90f10ebcacd2a38fb89e52ec8fb39d 100644
--- a/Source/core/html/HTMLLinkElement.cpp
+++ b/Source/core/html/HTMLLinkElement.cpp
@@ -584,7 +584,7 @@ void LinkStyle::process()
LocalFrame* frame = loadingFrame();
if (Document* document = loadingFrame()->document()) {
RefPtr<RenderStyle> documentStyle = StyleResolver::styleForDocument(*document);
- RefPtr<MediaQuerySet> media = MediaQuerySet::create(m_owner->media());
+ RefPtrWillBeRawPtr<MediaQuerySet> media = MediaQuerySet::create(m_owner->media());
MediaQueryEvaluator evaluator(frame->view()->mediaType(), frame, documentStyle.get());
mediaQueryMatches = evaluator.eval(media.get());
}

Powered by Google App Engine
This is Rietveld 408576698