| 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
|
|
|