| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index fba8fdc95b8625862b6d25e09f62c6e1cd623424..4b2a0b8017551084c6f278b3b368c6bdd811772f 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -3183,8 +3183,7 @@ void Document::write(const SegmentedString& text,
|
| PerformanceMonitor::reportGenericViolation(
|
| this, PerformanceMonitor::kDiscouragedAPIUse,
|
| "Avoid using document.write().", 0, nullptr);
|
| - InspectorInstrumentation::NativeBreakpoint nativeBreakpoint(
|
| - this, "Document.write", true);
|
| + InspectorInstrumentation::breakIfNeeded(this, "Document.write");
|
| m_parser->insert(text);
|
| }
|
|
|
|
|