| 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 43a8d63e8a15db28ab5e48b59545182c2da6a3f4..e70bfb8ccbe5802e68441d2e7333a73d7acbff28 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -3231,8 +3231,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);
|
| }
|
|
|
|
|