| Index: third_party/WebKit/Source/modules/notifications/Notification.cpp
|
| diff --git a/third_party/WebKit/Source/modules/notifications/Notification.cpp b/third_party/WebKit/Source/modules/notifications/Notification.cpp
|
| index 930099c9ba50e0fd2bf76b03226ff9b12ceaa0ce..16838d9569ef756f006633ae5dbdfcbd57d4c844 100644
|
| --- a/third_party/WebKit/Source/modules/notifications/Notification.cpp
|
| +++ b/third_party/WebKit/Source/modules/notifications/Notification.cpp
|
| @@ -380,8 +380,8 @@ ScriptPromise Notification::requestPermission(
|
| "Only request notification permission in response to a user gesture.",
|
| 0, nullptr);
|
| }
|
| - InspectorInstrumentation::NativeBreakpoint nativeBreakpoint(
|
| - context, "Notification.requestPermission", true);
|
| + InspectorInstrumentation::breakIfNeeded(context,
|
| + "Notification.requestPermission");
|
|
|
| return NotificationManager::from(context)->requestPermission(
|
| scriptState, deprecatedCallback);
|
|
|