| Index: Source/WebCore/html/DOMURL.cpp
|
| ===================================================================
|
| --- Source/WebCore/html/DOMURL.cpp (revision 78138)
|
| +++ Source/WebCore/html/DOMURL.cpp (working copy)
|
| @@ -37,8 +37,21 @@
|
| DOMURL::DOMURL(ScriptExecutionContext* scriptExecutionContext)
|
| : m_scriptExecutionContext(scriptExecutionContext)
|
| {
|
| + m_scriptExecutionContext->createdDomUrl(this);
|
| }
|
|
|
| +DOMURL::~DOMURL()
|
| +{
|
| + if (m_scriptExecutionContext)
|
| + m_scriptExecutionContext->destroyedDomUrl(this);
|
| +}
|
| +
|
| +void DOMURL::contextDestroyed()
|
| +{
|
| + ASSERT(m_scriptExecutionContext);
|
| + m_scriptExecutionContext = 0;
|
| +}
|
| +
|
| String DOMURL::createObjectURL(Blob* blob)
|
| {
|
| if (!m_scriptExecutionContext)
|
|
|