Chromium Code Reviews| Index: Source/core/dom/Document.h |
| diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
| index b1209b26e8de32d467c34ff397d6cf36e1e187cb..b0786e2a037cc7cc954bdce8d1c1598472fd3fc9 100644 |
| --- a/Source/core/dom/Document.h |
| +++ b/Source/core/dom/Document.h |
| @@ -1014,6 +1014,10 @@ public: |
| void updateSecurityOrigin(PassRefPtr<SecurityOrigin>); |
| PassOwnPtr<LifecycleNotifier<Document> > createLifecycleNotifier(); |
| + void setHasViewportUnits() { m_hasViewportUnits = true; } |
| + bool hasViewportUnits() { return m_hasViewportUnits; } |
|
esprehn
2013/12/04 06:02:28
const
Timothy Loh
2013/12/04 07:17:39
Done.
|
| + void notifyResizeForViewportUnits(); |
| + |
| protected: |
| Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); |
| @@ -1309,6 +1313,8 @@ private: |
| Timer<Document> m_didAssociateFormControlsTimer; |
| HashSet<RefPtr<Element> > m_associatedFormControls; |
| + |
| + bool m_hasViewportUnits; |
|
esprehn
2013/12/04 06:02:28
You don't set this in the constructor, you need m_
Timothy Loh
2013/12/04 07:17:39
Done.
|
| }; |
| inline void Document::notifyRemovePendingSheetIfNeeded() |