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 1bbece04062ec88c930d3e2f646809fa5b4be87d..1405a2e9a4302df5a97562bb87313909326db5ee 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); |
m_mediaQueryList = |
MediaQueryList::create(&document(), &document().mediaQueryMatcher(), set); |
addMediaQueryListListener(); |