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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 1878943011: CL for perf tryjob on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/core/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index 4eff15d1b6d74f8b5977249b082e66f85ceadbb9..e94f2a440268f198c3c7f8fe175b48ca65dbfac0 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -124,9 +124,9 @@ struct AnnotatedRegionValue {
typedef WTF::HashMap<const PaintLayer*, Vector<LayoutRect>> LayerHitTestRects;
-#ifndef NDEBUG
+//#ifndef NDEBUG
const int showTreeCharacterOffset = 39;
-#endif
+//#endif
// LayoutObject is the base class for all layout tree objects.
//
@@ -440,7 +440,7 @@ private:
bool skipInvalidationWhenLaidOutChildren() const;
public:
-#ifndef NDEBUG
+//#ifndef NDEBUG
void showTreeForThis() const;
void showLayoutTreeForThis() const;
void showLineTreeForThis() const;
@@ -450,7 +450,7 @@ public:
// showLayoutObject can be called from gdb easily.
void showLayoutObject(int printedCharacters) const;
void showLayoutTreeAndMark(const LayoutObject* markedObject1 = nullptr, const char* markedLabel1 = nullptr, const LayoutObject* markedObject2 = nullptr, const char* markedLabel2 = nullptr, int depth = 0) const;
-#endif
+//#endif
// This function is used to create the appropriate LayoutObject based
// on the style, in particular 'display' and 'content'.
@@ -2169,7 +2169,7 @@ inline double adjustScrollForAbsoluteZoom(double value, LayoutObject& layoutObje
} // namespace blink
-#ifndef NDEBUG
+//#ifndef NDEBUG
// Outside the WebCore namespace for ease of invocation from gdb.
void showTree(const blink::LayoutObject*);
void showLineTree(const blink::LayoutObject*);
@@ -2178,6 +2178,6 @@ void showLayoutTree(const blink::LayoutObject* object1);
// can be called from gdb easily.
void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObject* object2);
-#endif
+//#endif
#endif // LayoutObject_h
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698