Changeset 80371 in webkit


Ignore:
Timestamp:
Mar 4, 2011 1:28:09 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-03-04 Cosmin Truta <ctruta@chromium.org>

Reviewed by Adam Barth.

Clarify comment about potential memory leak in SVGImage
https://bugs.webkit.org/show_bug.cgi?id=55362

No functionality change. No new tests.

  • svg/graphics/SVGImage.cpp: (WebCore::SVGImage::dataChanged):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r80370 r80371  
     12011-03-04  Cosmin Truta  <ctruta@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        Clarify comment about potential memory leak in SVGImage
     6        https://bugs.webkit.org/show_bug.cgi?id=55362
     7
     8        No functionality change. No new tests.
     9
     10        * svg/graphics/SVGImage.cpp:
     11        (WebCore::SVGImage::dataChanged):
     12
    1132011-03-04  Jessie Berlin  <jberlin@apple.com>
    214
  • trunk/Source/WebCore/svg/graphics/SVGImage.cpp

    r79620 r80371  
    264264
    265265        // FIXME: If this SVG ends up loading itself, we might leak the world.
    266         // The comment said that the Cache code does not know about CachedImages
    267         // holding Frames and won't know to break the cycle. But
     266        // The Cache code does not know about CachedImages holding Frames and
     267        // won't know to break the cycle.
     268        // This will become an issue when SVGImage will be able to load other
     269        // SVGImage objects, but we're safe now, because SVGImage can only be
     270        // loaded by a top-level document.
    268271        m_page.set(new Page(pageClients));
    269272        m_page->settings()->setMediaEnabled(false);
Note: See TracChangeset for help on using the changeset viewer.