Hi Andrei,

On 4/24/14, 11:18 PM, Andrei Bucur wrote:
I’m trying to add some line boxes sanity checks and I’ve noticed there’s
a CHECK_CONSISTENCY macro guarding some consistency validation code (go
figure!) but that’s never defined in WebKit/Source. Anybody has an idea
how that macro is used?

The consistency checks in WebCore and WTF are for Debug code that is useful for debugging, but too slow to be enabled by default in debug builds.

You just add #define FOOBAR_CONSISTENCY 1 when needed.

From a quick check at CHECK_CONSISTENCY, it looks like they were disabled a long time ago (https://bugs.webkit.org/show_bug.cgi?id=14981). Maybe it is dead code now...?

Cheers,
Benjamin
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to