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

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

Issue 2135083003: Initialize gFunctionMap from CoreInitializer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/css/MediaQueryEvaluator.h
diff --git a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h
index f4e71a26c9acbe0b38efaa56bf1e13de9ba15f1b..f28d130b70fd75c6064f445842f8b4d0d727d44d 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h
+++ b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h
@@ -56,6 +56,8 @@ using MediaQueryResultList = HeapVector<Member<MediaQueryResult>>;
class CORE_EXPORT MediaQueryEvaluator final : public GarbageCollectedFinalized<MediaQueryEvaluator> {
WTF_MAKE_NONCOPYABLE(MediaQueryEvaluator);
public:
+ static void init();
+
// Creates evaluator which evaluates only simple media queries
// Evaluator returns true for "all", and returns value of \mediaFeatureResult
// for any media features.
« no previous file with comments | « third_party/WebKit/Source/core/CoreInitializer.cpp ('k') | third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698