Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Unified Diff: Source/WebCore/html/canvas/WebKitLoseContext.cpp

Issue 6591046: Merge 78921 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/html/canvas/WebKitLoseContext.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/canvas/WebKitLoseContext.cpp
===================================================================
--- Source/WebCore/html/canvas/WebKitLoseContext.cpp (revision 79906)
+++ Source/WebCore/html/canvas/WebKitLoseContext.cpp (working copy)
@@ -55,7 +55,8 @@
void WebKitLoseContext::loseContext()
{
- m_context->forceLostContext();
+ if (m_context)
+ m_context->forceLostContext();
}
} // namespace WebCore
« no previous file with comments | « Source/WebCore/html/canvas/WebKitLoseContext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698