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

Unified Diff: Source/core/layout/LayoutTreeAsText.h

Issue 1318713003: Make classes and structures in core/layout fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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/core/layout/LayoutThemeFontProvider.h ('k') | Source/core/layout/LayoutView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTreeAsText.h
diff --git a/Source/core/layout/LayoutTreeAsText.h b/Source/core/layout/LayoutTreeAsText.h
index 814443c4fab149936efa7404cf35f055e3d97c0e..a7836e72cec01db63e61b417000babe6eba2f495 100644
--- a/Source/core/layout/LayoutTreeAsText.h
+++ b/Source/core/layout/LayoutTreeAsText.h
@@ -28,6 +28,7 @@
#include "core/CoreExport.h"
#include "platform/text/TextStream.h"
+#include "wtf/Allocator.h"
#include "wtf/Forward.h"
namespace blink {
@@ -62,6 +63,7 @@ CORE_EXPORT String externalRepresentation(Element*, LayoutAsTextBehavior = Layou
void write(TextStream&, const LayoutObject&, int indent = 0, LayoutAsTextBehavior = LayoutAsTextBehaviorNormal);
class LayoutTreeAsText {
+ STATIC_ONLY(LayoutTreeAsText);
// FIXME: This is a cheesy hack to allow easy access to ComputedStyle colors. It won't be needed if we convert
// it to use visitedDependentColor instead. (This just involves rebaselining many results though, so for now it's
// not being done).
« no previous file with comments | « Source/core/layout/LayoutThemeFontProvider.h ('k') | Source/core/layout/LayoutView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698