Changeset 79093 in webkit


Ignore:
Timestamp:
Feb 18, 2011 9:43:18 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-02-18 Jonathan Backer <backer@chromium.org>

Reviewed by Eric Seidel.

[chromium] Fix leak of texture IDs in compositor.
https://bugs.webkit.org/show_bug.cgi?id=54750

No new tests. It is extremely unlikely that this leak would have
any user visible impact because only a few bytes of space are wasted
(we're leaking texture IDs, not actual textures) and the space of
texture IDs is large (32 bits).

  • platform/graphics/chromium/TextureManager.cpp: (WebCore::TextureManager::requestTexture):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r79085 r79093  
     12011-02-18  Jonathan Backer  <backer@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [chromium] Fix leak of texture IDs in compositor.
     6        https://bugs.webkit.org/show_bug.cgi?id=54750
     7
     8        No new tests. It is extremely unlikely that this leak would have
     9        any user visible impact because only a few bytes of space are wasted
     10        (we're leaking texture IDs, not actual textures) and the space of
     11        texture IDs is large (32 bits).
     12
     13       * platform/graphics/chromium/TextureManager.cpp:
     14        (WebCore::TextureManager::requestTexture):
     15
    1162011-02-18  Yi Shen  <yi.4.shen@nokia.com>
    217
  • trunk/Source/WebCore/platform/graphics/chromium/TextureManager.cpp

    r75410 r79093  
    153153        return 0;
    154154
    155     unsigned textureId = m_context->createTexture();
     155    unsigned textureId;
    156156    GLC(m_context.get(), textureId = m_context->createTexture());
    157157    GLC(m_context.get(), m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId));
Note: See TracChangeset for help on using the changeset viewer.