Changeset 86394 in webkit


Ignore:
Timestamp:
May 12, 2011 4:27:25 PM (13 years ago)
Author:
enne@google.com
Message:

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):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r86391 r86394  
     12011-05-12  Adrienne Walker  <enne@google.com>
     2
     3        Reviewed by James Robinson.
     4
     5        [chromium] show-composited-layer-tree crashes on null ptr deref
     6        https://bugs.webkit.org/show_bug.cgi?id=60734
     7
     8        The tiler is created lazily, so it won't not be around for the first
     9        dumpLayerProperties call.
     10
     11        * platform/graphics/chromium/ContentLayerChromium.cpp:
     12        (WebCore::ContentLayerChromium::dumpLayerProperties):
     13
    1142011-05-12  Patrick Gansterer  <paroga@webkit.org>
    215
  • trunk/Source/WebCore/platform/graphics/chromium/ContentLayerChromium.cpp

    r85527 r86394  
    232232    LayerChromium::dumpLayerProperties(ts, indent);
    233233    writeIndent(ts, indent);
    234     ts << "skipsDraw: " << m_tiler->skipsDraw() << "\n";
     234    ts << "skipsDraw: " << (!m_tiler || m_tiler->skipsDraw()) << "\n";
    235235}
    236236
Note: See TracChangeset for help on using the changeset viewer.