Commit 56d3618d authored by enne@google.com's avatar enne@google.com

2011-05-12 Adrienne Walker <enne@google.com>

        Reviewed by James Robinson.

        [chromium] show-composited-layer-tree crashes on null ptr deref
        https://bugs.webkit.org/show_bug.cgi?id=60734

        The tiler is created lazily, so it won't not be around for the first
        dumpLayerProperties call.

        * platform/graphics/chromium/ContentLayerChromium.cpp:
        (WebCore::ContentLayerChromium::dumpLayerProperties):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86394 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4e64f922
2011-05-12 Adrienne Walker <enne@google.com>
Reviewed by James Robinson.
[chromium] show-composited-layer-tree crashes on null ptr deref
https://bugs.webkit.org/show_bug.cgi?id=60734
The tiler is created lazily, so it won't not be around for the first
dumpLayerProperties call.
* platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::dumpLayerProperties):
2011-05-12 Patrick Gansterer <paroga@webkit.org>
Reviewed by Adam Barth.
......@@ -231,7 +231,7 @@ void ContentLayerChromium::dumpLayerProperties(TextStream& ts, int indent) const
{
LayerChromium::dumpLayerProperties(ts, indent);
writeIndent(ts, indent);
ts << "skipsDraw: " << m_tiler->skipsDraw() << "\n";
ts << "skipsDraw: " << (!m_tiler || m_tiler->skipsDraw()) << "\n";
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment