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/notifications/NotificationCenter.h

Issue 6594055: Merge 77738 (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
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
« no previous file with comments | « Source/WebCore/bindings/v8/custom/V8NotificationCenterCustom.cpp ('k') | Source/WebCore/notifications/NotificationCenter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698