Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: Source/WebCore/dom/Document.h

Issue 13723004: Remove the ENABLE_TEXT_AUTOSIZING compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/dom/Document.h
diff --git a/Source/WebCore/dom/Document.h b/Source/WebCore/dom/Document.h
index de94063373ff82f90635b7c1fced513a98df9ef0..08764a8ff67feb3feee02728d06a2fe0d56a35ea 100644
--- a/Source/WebCore/dom/Document.h
+++ b/Source/WebCore/dom/Document.h
@@ -143,6 +143,7 @@ class StyleSheet;
class StyleSheetContents;
class StyleSheetList;
class Text;
+class TextAutosizer;
class TextResourceDecoder;
class TreeWalker;
class VisitedLinkState;
@@ -183,10 +184,6 @@ class MicroDataItemList;
class Prerenderer;
#endif
-#if ENABLE(TEXT_AUTOSIZING)
-class TextAutosizer;
-#endif
-
#if ENABLE(CSP_NEXT)
class DOMSecurityPolicy;
#endif
@@ -1158,9 +1155,7 @@ public:
Prerenderer* prerenderer() { return m_prerenderer.get(); }
#endif
-#if ENABLE(TEXT_AUTOSIZING)
TextAutosizer* textAutosizer() { return m_textAutosizer.get(); }
-#endif
#if ENABLE(CUSTOM_ELEMENTS)
PassRefPtr<Element> createElement(const AtomicString& localName, const AtomicString& typeExtension, ExceptionCode&);
@@ -1555,9 +1550,7 @@ private:
OwnPtr<Prerenderer> m_prerenderer;
#endif
-#if ENABLE(TEXT_AUTOSIZING)
OwnPtr<TextAutosizer> m_textAutosizer;
-#endif
#if ENABLE(CUSTOM_ELEMENTS)
RefPtr<CustomElementRegistry> m_registry;

Powered by Google App Engine
This is Rietveld 408576698