| 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 28a8a820a61a2df00a7ca99fbcb0fcf765ad1162..dbc53e9642bcbc5f9f9b1076b440d06449d88e6a 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -3197,7 +3197,8 @@
|
| PerformanceMonitor::reportGenericViolation(
|
| this, PerformanceMonitor::kDiscouragedAPIUse,
|
| "Avoid using document.write().", 0, nullptr);
|
| - InspectorInstrumentation::breakIfNeeded(this, "Document.write");
|
| + InspectorInstrumentation::NativeBreakpoint nativeBreakpoint(
|
| + this, "Document.write", true);
|
| m_parser->insert(text);
|
| }
|
|
|
|
|