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

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

Issue 397403002: Make MediaQueryList an ActiveDOMElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: need ActiveDOMObject in IDL Created 6 years, 5 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
« no previous file with comments | « Source/core/css/MediaQueryMatcher.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLSourceElement.cpp
diff --git a/Source/core/html/HTMLSourceElement.cpp b/Source/core/html/HTMLSourceElement.cpp
index 4cb95ac34d6ce27ffa69796fd9a464b61876d3c9..a78354f7ca6a260606dcefba8050fce385afc6d3 100644
--- a/Source/core/html/HTMLSourceElement.cpp
+++ b/Source/core/html/HTMLSourceElement.cpp
@@ -161,7 +161,7 @@ void HTMLSourceElement::parseAttribute(const QualifiedName& name, const AtomicSt
if (m_mediaQueryList)
m_mediaQueryList->removeListener(m_listener);
RefPtrWillBeRawPtr<MediaQuerySet> set = MediaQuerySet::create(value);
- m_mediaQueryList = MediaQueryList::create(&document().mediaQueryMatcher(), set.release());
+ m_mediaQueryList = MediaQueryList::create(&document(), &document().mediaQueryMatcher(), set.release());
m_mediaQueryList->addListener(m_listener);
}
if (name == srcsetAttr || name == sizesAttr || name == mediaAttr || name == typeAttr) {
« no previous file with comments | « Source/core/css/MediaQueryMatcher.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698