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

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindow.cpp

Issue 2700293002: DevTools: do not use RAII for sync native breakpoints, reuse AsyncTask where possible. (Closed)
Patch Set: Introduce progress monitor 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/core/frame/DOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.cpp b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
index 982e662ec76943ebad70baece85728807dec99f1..84994b6914b4cd1cd79b91f5c22abf45dc52976a 100644
--- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
@@ -387,8 +387,7 @@ void DOMWindow::close(ExecutionContext* context) {
if (!frame()->shouldClose())
return;
- InspectorInstrumentation::NativeBreakpoint nativeBreakpoint(
- context, "DOMWindow.close", true);
+ InspectorInstrumentation::breakIfNeeded(context, "DOMWindow.close");
page->closeSoon();

Powered by Google App Engine
This is Rietveld 408576698