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

Unified Diff: Source/web/NotificationPermissionClientImpl.cpp

Issue 584023002: [WIP] Implement Notifications through Platform instead of WebFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/web/AssertMatchingEnums.cpp ('k') | Source/web/NotificationPresenterImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/NotificationPermissionClientImpl.cpp
diff --git a/Source/web/NotificationPermissionClientImpl.cpp b/Source/web/NotificationPermissionClientImpl.cpp
index 3142600108c07fcaa3c315440f69834195375b6b..17cff4b1f25d2e0d3fda14e1e3d566b992b5d449 100644
--- a/Source/web/NotificationPermissionClientImpl.cpp
+++ b/Source/web/NotificationPermissionClientImpl.cpp
@@ -28,7 +28,7 @@ public:
virtual void permissionRequestComplete(WebNotificationPermission permission) OVERRIDE
{
if (m_callback)
- m_callback->handleEvent(Notification::permissionString(static_cast<NotificationClient::Permission>(permission)));
+ m_callback->handleEvent(Notification::permissionString(permission));
}
private:
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | Source/web/NotificationPresenterImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698