| Index: Source/core/dom/Document.h
|
| diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
|
| index e75547ab04e8583d40bdc8dd70ef6b0236e1e27d..51a3c60befaffd8c8722eedee272a4a7ce04c092 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)
|
|
|