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

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

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
« no previous file with comments | « Source/WebCore/dom/Document.h ('k') | Source/WebCore/page/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/Document.cpp
diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp
index 1fdd8fb6682bd0a39ff8bc57e846eb4775424b3b..11d8dc83d67a78c6bec1bcff18064681d5bcf117 100644
--- a/Source/WebCore/dom/Document.cpp
+++ b/Source/WebCore/dom/Document.cpp
@@ -162,6 +162,7 @@
#include "StyleResolver.h"
#include "StyleSheetContents.h"
#include "StyleSheetList.h"
+#include "TextAutosizer.h"
#include "TextResourceDecoder.h"
#include "Timer.h"
#include "TraceEvent.h"
@@ -236,10 +237,6 @@
#include "Prerenderer.h"
#endif
-#if ENABLE(TEXT_AUTOSIZING)
-#include "TextAutosizer.h"
-#endif
-
#if ENABLE(VIDEO_TRACK)
#include "CaptionUserPreferences.h"
#endif
@@ -513,9 +510,7 @@ Document::Document(Frame* frame, const KURL& url, bool isXHTML, bool isHTML)
#if ENABLE(LINK_PRERENDER)
m_prerenderer = Prerenderer::create(this);
#endif
-#if ENABLE(TEXT_AUTOSIZING)
m_textAutosizer = TextAutosizer::create(this);
-#endif
m_visuallyOrdered = false;
m_bParsing = false;
m_wellFormed = false;
@@ -6044,9 +6039,7 @@ void Document::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
info.addMember(m_scriptedAnimationController, "scriptedAnimationController");
#endif
info.addMember(m_pendingTasksTimer, "pendingTasksTimer");
-#if ENABLE(TEXT_AUTOSIZING)
info.addMember(m_textAutosizer, "textAutosizer");
-#endif
info.addMember(m_visualUpdatesSuppressionTimer, "visualUpdatesSuppressionTimer");
info.addMember(m_namedFlows, "namedFlows");
info.addMember(m_domSecurityPolicy, "domSecurityPolicy");
« no previous file with comments | « Source/WebCore/dom/Document.h ('k') | Source/WebCore/page/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698