diff options
author | John Reck <jreck@google.com> | 2012-08-13 15:32:16 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2012-08-13 15:32:16 -0700 |
commit | 826961ccc92c603300f18b4acd5adf6093c64cb3 (patch) | |
tree | 6d1bf5c8b5c63812268fd87e61a3534ff544daa0 /Source/WebCore | |
parent | 4c7e6e151b9c49fec439974383c1ba87079e934d (diff) | |
download | external_webkit-826961ccc92c603300f18b4acd5adf6093c64cb3.zip external_webkit-826961ccc92c603300f18b4acd5adf6093c64cb3.tar.gz external_webkit-826961ccc92c603300f18b4acd5adf6093c64cb3.tar.bz2 |
Null check
Bug: 6975836
Change-Id: I085e2099d016730ba1fdcce71e0452b2026c9617
Diffstat (limited to 'Source/WebCore')
-rw-r--r-- | Source/WebCore/platform/graphics/android/context/GraphicsContextAndroid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/context/GraphicsContextAndroid.cpp b/Source/WebCore/platform/graphics/android/context/GraphicsContextAndroid.cpp index 23b22e6..957040b 100644 --- a/Source/WebCore/platform/graphics/android/context/GraphicsContextAndroid.cpp +++ b/Source/WebCore/platform/graphics/android/context/GraphicsContextAndroid.cpp @@ -59,7 +59,7 @@ public: : m_context(platformContext) { } ~GraphicsContextPlatformPrivate() { - if (m_context->deleteUs()) + if (m_context && m_context->deleteUs()) delete m_context; } |