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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 1868413002: Add about:flags support for doc.write script blocking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 8 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/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 580b4220c29499cd677bcb17a404eb1b0877e83d..96c7157596d92c83376b6675ecb1da88de36f0b3 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -933,7 +933,7 @@ public:
void initDNSPrefetch();
- bool isInDocumentWrite() { return m_writeRecursionDepth > 0; }
+ bool isInDocumentWrite() const { return m_writeRecursionDepth > 0; }
TextAutosizer* textAutosizer();

Powered by Google App Engine
This is Rietveld 408576698