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

Unified Diff: Source/core/css/MediaQueryListListener.h

Issue 337883003: Call media query change listeners asynchronously. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix typo Created 6 years, 6 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: Source/core/css/MediaQueryListListener.h
diff --git a/Source/core/css/MediaQueryListListener.h b/Source/core/css/MediaQueryListListener.h
index d9299b0b3d650dd345c4febcb4dc8022ea23a282..4895b82ea534484ed37221ce415ef49845c9854a 100644
--- a/Source/core/css/MediaQueryListListener.h
+++ b/Source/core/css/MediaQueryListListener.h
@@ -22,6 +22,7 @@
#include "bindings/v8/ScriptState.h"
#include "bindings/v8/ScriptValue.h"
+#include "core/css/MediaQueryList.h"
#include "platform/heap/Handle.h"
#include "wtf/RefCounted.h"
@@ -39,6 +40,8 @@ public:
return nullptr;
return adoptRefWillBeNoop(new MediaQueryListListener(scriptState, value));
}
+ ~MediaQueryListListener();
+
void call();
// Used to keep the MediaQueryList alive and registered with the MediaQueryMatcher

Powered by Google App Engine
This is Rietveld 408576698