Changeset 86788 in webkit


Ignore:
Timestamp:
May 18, 2011 2:16:15 PM (13 years ago)
Author:
enne@google.com
Message:

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

Reviewed by James Robinson.

[chromium] Check HUD texture reserve status before using texture
https://bugs.webkit.org/show_bug.cgi?id=61082

This only changes behavior behind a flag, so shouldn't impact any tests.

  • platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp: (WebCore::CCHeadsUpDisplay::draw):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r86785 r86788  
     12011-05-18  Adrienne Walker  <enne@google.com>
     2
     3        Reviewed by James Robinson.
     4
     5        [chromium] Check HUD texture reserve status before using texture
     6        https://bugs.webkit.org/show_bug.cgi?id=61082
     7
     8        This only changes behavior behind a flag, so shouldn't impact any tests.
     9
     10        * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
     11        (WebCore::CCHeadsUpDisplay::draw):
     12
    1132011-05-18  Oliver Hunt  <oliver@apple.com>
    214
  • trunk/Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp

    r86640 r86788  
    9494    }
    9595
    96     m_hudTexture->reserve(hudSize, GraphicsContext3D::RGBA);
     96    if (!m_hudTexture->reserve(hudSize, GraphicsContext3D::RGBA))
     97        return;
    9798
    9899    // Render pixels into the texture.
Note: See TracChangeset for help on using the changeset viewer.