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

Unified Diff: third_party/WebKit/Source/core/dom/Element.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/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 373673f62cdebcadda5dd9d6ba717070e8bdfd3b..962071725337eb9983acc676fd93a65740aae3a5 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -2844,8 +2844,7 @@ String Element::outerHTML() const {
}
void Element::setInnerHTML(const String& html, ExceptionState& exceptionState) {
- InspectorInstrumentation::NativeBreakpoint nativeBreakpoint(
- &document(), "Element.setInnerHTML", true);
+ InspectorInstrumentation::breakIfNeeded(&document(), "Element.setInnerHTML");
if (DocumentFragment* fragment = createFragmentForInnerOuterHTML(
html, this, AllowScriptingContent, "innerHTML", exceptionState)) {
ContainerNode* container = this;

Powered by Google App Engine
This is Rietveld 408576698