Index: Source/WebCore/notifications/NotificationCenter.h |
=================================================================== |
--- Source/WebCore/notifications/NotificationCenter.h (revision 79891) |
+++ Source/WebCore/notifications/NotificationCenter.h (working copy) |
@@ -58,7 +58,7 @@ |
ec = SYNTAX_ERR; |
return 0; |
} |
- return Notification::create(m_scriptExecutionContext->completeURL(URI), context(), ec, this); |
+ return Notification::create(scriptExecutionContext()->completeURL(URI), scriptExecutionContext(), ec, this); |
} |
PassRefPtr<Notification> createNotification(const String& iconURI, const String& title, const String& body, ExceptionCode& ec) |
@@ -67,11 +67,10 @@ |
ec = INVALID_STATE_ERR; |
return 0; |
} |
- NotificationContents contents(iconURI.isEmpty() ? KURL() : m_scriptExecutionContext->completeURL(iconURI), title, body); |
- return Notification::create(contents, context(), ec, this); |
+ NotificationContents contents(iconURI.isEmpty() ? KURL() : scriptExecutionContext()->completeURL(iconURI), title, body); |
+ return Notification::create(contents, scriptExecutionContext(), ec, this); |
} |
- ScriptExecutionContext* context() const { return m_scriptExecutionContext; } |
NotificationPresenter* presenter() const { return m_notificationPresenter; } |
int checkPermission(); |
@@ -82,7 +81,6 @@ |
private: |
NotificationCenter(ScriptExecutionContext*, NotificationPresenter*); |
- ScriptExecutionContext* m_scriptExecutionContext; |
NotificationPresenter* m_notificationPresenter; |
}; |
Property changes on: Source\WebCore\notifications\NotificationCenter.h |
___________________________________________________________________ |
Added: svn:mergeinfo |
Merged /trunk/WebCore/notifications/NotificationCenter.h:r53455 |