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

Unified Diff: third_party/WebKit/Source/modules/notifications/Notification.cpp

Issue 2727633006: DevTools: Rename InspectorInstrumentation:: namespace into probe:: (Closed)
Patch Set: Created 3 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: 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 16838d9569ef756f006633ae5dbdfcbd57d4c844..0486b73f9ec0582c43109224ab8e45479a510b45 100644
--- a/third_party/WebKit/Source/modules/notifications/Notification.cpp
+++ b/third_party/WebKit/Source/modules/notifications/Notification.cpp
@@ -380,8 +380,7 @@ ScriptPromise Notification::requestPermission(
"Only request notification permission in response to a user gesture.",
0, nullptr);
}
- InspectorInstrumentation::breakIfNeeded(context,
- "Notification.requestPermission");
+ probe::breakIfNeeded(context, "Notification.requestPermission");
return NotificationManager::from(context)->requestPermission(
scriptState, deprecatedCallback);

Powered by Google App Engine
This is Rietveld 408576698