Changeset 199046 in webkit
- Timestamp:
- Apr 4, 2016 11:13:55 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r199045 r199046 1 2016-04-04 Zan Dobersek <zdobersek@igalia.com> 2 3 Guard showGraphicsLayerTree() with ENABLE(TREE_DEBUGGING) 4 https://bugs.webkit.org/show_bug.cgi?id=156157 5 6 Reviewed by Simon Fraser. 7 8 Mimic r181166 and guard the showGraphicsLayerTree() function with 9 ENABLE(TREE_DEBUGGING) guards, instead of !defined(NDEBUG). This 10 would enable invoking the function in release builds when the 11 ENABLE_TREE_DEBUGGING option is enabled, not limiting the function 12 to only debug builds. 13 14 * platform/graphics/GraphicsLayer.cpp: 15 * platform/graphics/GraphicsLayer.h: 16 1 17 2016-04-04 Zan Dobersek <zdobersek@igalia.com> 2 18 -
trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp
r198189 r199046 912 912 } // namespace WebCore 913 913 914 #if ndef NDEBUG914 #if ENABLE(TREE_DEBUGGING) 915 915 void showGraphicsLayerTree(const WebCore::GraphicsLayer* layer) 916 916 { -
trunk/Source/WebCore/platform/graphics/GraphicsLayer.h
r198189 r199046 667 667 SPECIALIZE_TYPE_TRAITS_END() 668 668 669 #if ndef NDEBUG669 #if ENABLE(TREE_DEBUGGING) 670 670 // Outside the WebCore namespace for ease of invocation from gdb. 671 671 void showGraphicsLayerTree(const WebCore::GraphicsLayer* layer);
Note: See TracChangeset
for help on using the changeset viewer.