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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp

Issue 1555993002: Reduce risk of MediaQueryEvaluator-induced leaks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/css/MediaQueryEvaluator.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
index 69f2e9887aee1ab369e8b62ec0b42f80f793e87d..99e42d0c0a99c55ceb260008c4b05eb9b6988753 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
+++ b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
@@ -92,6 +92,11 @@ MediaQueryEvaluator::~MediaQueryEvaluator()
{
}
+DEFINE_TRACE(MediaQueryEvaluator)
+{
+ visitor->trace(m_mediaValues);
+}
+
const String MediaQueryEvaluator::mediaType() const
{
// If a static mediaType was given by the constructor, we use it here.
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaQueryEvaluator.h ('k') | third_party/WebKit/Source/core/css/MediaQueryMatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698