Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index 1c14d5c6691f0a69bb8d0792661af467e66d1e6b..3c251894c23e97d4aa422f252c0f219087f4dafa 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -1015,6 +1015,10 @@ public: |
void updateSecurityOrigin(PassRefPtr<SecurityOrigin>); |
PassOwnPtr<LifecycleNotifier<Document> > createLifecycleNotifier(); |
+ void setHasViewportUnits() { m_hasViewportUnits = true; } |
+ bool hasViewportUnits() const { return m_hasViewportUnits; } |
+ void notifyResizeForViewportUnits(); |
+ |
protected: |
Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); |
@@ -1310,6 +1314,8 @@ private: |
Timer<Document> m_didAssociateFormControlsTimer; |
HashSet<RefPtr<Element> > m_associatedFormControls; |
+ |
+ bool m_hasViewportUnits; |
}; |
inline void Document::notifyRemovePendingSheetIfNeeded() |