Index: third_party/WebKit/Source/core/dom/Document.h |
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h |
index 9cf6cb243af61170676e69ee90e113c907c1321c..a219f3fda55a18e07642e6a7aa0d4f45ccb8b651 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.h |
+++ b/third_party/WebKit/Source/core/dom/Document.h |
@@ -537,7 +537,8 @@ public: |
ScriptableDocumentParser* scriptableDocumentParser() const; |
bool printing() const { return m_printing; } |
- void setPrinting(bool p) { m_printing = p; } |
+ void setPrinting(bool isPrinting) { m_printing = isPrinting; } |
+ bool wasPrinting() const { return m_wasPrinting; } |
bool paginatedForScreen() const { return m_paginatedForScreen; } |
void setPaginatedForScreen(bool p) { m_paginatedForScreen = p; } |
@@ -1195,6 +1196,7 @@ private: |
RefPtrWillBeMember<CSSStyleSheet> m_elemSheet; |
bool m_printing; |
+ bool m_wasPrinting; |
bool m_paginatedForScreen; |
CompatibilityMode m_compatibilityMode; |