Skip to content
Permalink
Browse files
[chromium] Fix nullptr deref when switching composited tabs
https://bugs.webkit.org/show_bug.cgi?id=66691

Reviewed by James Robinson.

* platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::protectTileTextures):


Canonical link: https://commits.webkit.org/82506@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@93526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
quisquous committed Aug 22, 2011
1 parent 6461e29 commit cac26d8936ac49759c7a90f3be00b083889ea568
Showing 2 changed files with 11 additions and 1 deletion.
@@ -1,3 +1,13 @@
2011-08-22 Adrienne Walker <enne@google.com>

[chromium] Fix nullptr deref when switching composited tabs
https://bugs.webkit.org/show_bug.cgi?id=66691

Reviewed by James Robinson.

* platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::protectTileTextures):

2011-08-22 James Robinson <jamesr@chromium.org>

[chromium] Content and render surface textures not freed when compositor context destroyed
@@ -357,7 +357,7 @@ void TiledLayerChromium::protectVisibleTileTextures()

void TiledLayerChromium::protectTileTextures(const IntRect& contentRect)
{
if (contentRect.isEmpty())
if (!m_tiler || contentRect.isEmpty())
return;

int left, top, right, bottom;

0 comments on commit cac26d8

Please sign in to comment.