| Index: Source/core/dom/Document.h
|
| diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
|
| index 7a035b5b21ccfd188cc5bb2615af712596d3dc62..419b206e4b6296e319106eee56e3e088c427192c 100644
|
| --- a/Source/core/dom/Document.h
|
| +++ b/Source/core/dom/Document.h
|
| @@ -803,9 +803,7 @@ public:
|
| KURL openSearchDescriptionURL();
|
|
|
| // designMode support
|
| - enum InheritedBool { off = false, on = true, inherit };
|
| - void setDesignMode(InheritedBool value);
|
| - bool inDesignMode() const;
|
| + bool inDesignMode() const { return m_designMode; }
|
| String designMode() const;
|
| void setDesignMode(const String&);
|
|
|
| @@ -1297,7 +1295,7 @@ private:
|
|
|
| DocumentEncodingData m_encodingData;
|
|
|
| - InheritedBool m_designMode;
|
| + bool m_designMode;
|
|
|
| WillBeHeapHashSet<RawPtrWillBeWeakMember<const LiveNodeListBase>> m_listsInvalidatedAtDocument;
|
| #if ENABLE(OILPAN)
|
|
|