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

Unified Diff: Source/core/dom/Document.h

Issue 337883003: Call media query change listeners asynchronously. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests fixed 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/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 5c7c9b1a3ff2cb41c07a12c94835dfa87d13ae37..b0ec33d5bca4c99e1a4733eb58bfda160b59bc0e 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -1045,6 +1045,9 @@ public:
bool hasSVGFilterElementsRequiringLayerUpdate() const { return m_layerUpdateSVGFilterElements.size(); }
void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; }
+ // Public for use by MediaQueryMatcher
+ ScriptedAnimationController& ensureScriptedAnimationController();
esprehn 2014/07/01 00:01:06 This should not be public.
cbiesinger 2014/07/01 00:12:09 (see above)
+
protected:
Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
@@ -1065,7 +1068,6 @@ private:
friend class Node;
friend class IgnoreDestructiveWriteCountIncrementer;
- ScriptedAnimationController& ensureScriptedAnimationController();
virtual SecurityContext& securityContext() OVERRIDE FINAL { return *this; }
virtual EventQueue* eventQueue() const OVERRIDE FINAL;

Powered by Google App Engine
This is Rietveld 408576698