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

Unified Diff: Source/WebCore/html/DOMURL.cpp

Issue 6480008: Merge 77914 (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 | « LayoutTests/fast/files/domurl-script-execution-context-crash-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/DOMURL.cpp
===================================================================
--- Source/WebCore/html/DOMURL.cpp (revision 78140)
+++ Source/WebCore/html/DOMURL.cpp (working copy)
@@ -37,7 +37,8 @@
DOMURL::DOMURL(ScriptExecutionContext* scriptExecutionContext)
: m_scriptExecutionContext(scriptExecutionContext)
{
- m_scriptExecutionContext->createdDomUrl(this);
+ if (m_scriptExecutionContext)
+ m_scriptExecutionContext->createdDomUrl(this);
}
DOMURL::~DOMURL()
« no previous file with comments | « LayoutTests/fast/files/domurl-script-execution-context-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698