Permalink
Browse files

DO NOT MERGE Null check

 Cherry pick

 Bug: 6975836
 Fixes a crash in find on page

Change-Id: I20e1597f2f3a381ee693c1bcef944243ca654110
  • Loading branch information...
1 parent 28c43cf commit 465864a6d72a2505b7a725ddaadfff05cdece8fc John Reck committed Aug 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/WebCore/platform/graphics/android/context/GraphicsContextAndroid.cpp
View
2 Source/WebCore/platform/graphics/android/context/GraphicsContextAndroid.cpp
@@ -60,7 +60,7 @@ class GraphicsContextPlatformPrivate {
: m_context(platformContext) { }
~GraphicsContextPlatformPrivate()
{
- if (m_context->deleteUs())
+ if (m_context && m_context->deleteUs())
delete m_context;
}

0 comments on commit 465864a

Please sign in to comment.