Index: Source/WebCore/bindings/js/JSDesktopNotificationsCustom.cpp |
=================================================================== |
--- Source/WebCore/bindings/js/JSDesktopNotificationsCustom.cpp (revision 79891) |
+++ Source/WebCore/bindings/js/JSDesktopNotificationsCustom.cpp (working copy) |
@@ -47,7 +47,7 @@ |
JSValue JSNotificationCenter::requestPermission(ExecState* exec) |
{ |
- ScriptExecutionContext* context = impl()->context(); |
+ ScriptExecutionContext* context = impl()->scriptExecutionContext(); |
// Make sure that script execution context is valid. |
if (!context) { |