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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSourceElement.cpp

Issue 2837023005: Move MediaQuery classes off BlinkGC heap (Closed)
Patch Set: fix Created 3 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: third_party/WebKit/Source/core/html/HTMLSourceElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLSourceElement.cpp b/third_party/WebKit/Source/core/html/HTMLSourceElement.cpp
index 5e4c55608d8040154bdedb22d5b5ab7887b1a42e..8ef2bc640edcf43f17df5b3ec8bbb1f4a0ccbd0e 100644
--- a/third_party/WebKit/Source/core/html/HTMLSourceElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLSourceElement.cpp
@@ -75,7 +75,7 @@ void HTMLSourceElement::CreateMediaQueryList(const AtomicString& media) {
return;
}
- MediaQuerySet* set = MediaQuerySet::Create(media);
+ RefPtr<MediaQuerySet> set = MediaQuerySet::Create(media);
media_query_list_ = MediaQueryList::Create(
&GetDocument(), &GetDocument().GetMediaQueryMatcher(), set);
AddMediaQueryListListener();

Powered by Google App Engine
This is Rietveld 408576698