diff options
| author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-18 14:03:11 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-18 14:03:11 +0200 |
| commit | 8d473cf9743f1d30a16a27114e93bd5af5648d23 (patch) | |
| tree | cdca40d0353886b3ca52f33a2d7b8f1c0011aafc /Source/WebCore/css/StylePropertySet.cpp | |
| parent | 1b914638db989aaa98631a1c1e02c7b2d44805d8 (diff) | |
| download | qtwebkit-8d473cf9743f1d30a16a27114e93bd5af5648d23.tar.gz | |
Imported WebKit commit 1350e72f7345ced9da2bd9980deeeb5a8d62fab4 (http://svn.webkit.org/repository/webkit/trunk@117578)
Weekly snapshot
Diffstat (limited to 'Source/WebCore/css/StylePropertySet.cpp')
| -rw-r--r-- | Source/WebCore/css/StylePropertySet.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/WebCore/css/StylePropertySet.cpp b/Source/WebCore/css/StylePropertySet.cpp index caeda8896..ac7eacd8c 100644 --- a/Source/WebCore/css/StylePropertySet.cpp +++ b/Source/WebCore/css/StylePropertySet.cpp @@ -33,6 +33,12 @@ #include <wtf/BitVector.h> #include <wtf/text/StringBuilder.h> +#ifndef NDEBUG +#include <stdio.h> +#include <wtf/ASCIICType.h> +#include <wtf/text/CString.h> +#endif + using namespace std; namespace WebCore { @@ -1023,4 +1029,11 @@ class SameSizeAsStylePropertySet : public RefCounted<SameSizeAsStylePropertySet> }; COMPILE_ASSERT(sizeof(StylePropertySet) == sizeof(SameSizeAsStylePropertySet), style_property_set_should_stay_small); +#ifndef NDEBUG +void StylePropertySet::showStyle() +{ + fprintf(stderr, "%s\n", asText().ascii().data()); +} +#endif + } // namespace WebCore |
