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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp

Issue 2971683003: Change code to make jumbo exceptions unnecessary in core/html (Closed)
Patch Set: Removed testing code after showing that it worked Created 3 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp b/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp
index 93b3e813a4fd0f00236d75a0e2a954e61c55633a..dc85d094f1c631569751ef13e594e452bd09aade 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp
@@ -38,6 +38,7 @@
// Please don't use DEFINE_STATIC_LOCAL in this file. The HTMLTokenizer is used
// from multiple threads and DEFINE_STATIC_LOCAL isn't threadsafe.
kouhei (in TOK) 2017/07/11 02:10:49 This comment is no longer true. We can just remove
+#pragma push_macro("DEFINE_STATIC_LOCAL")
#undef DEFINE_STATIC_LOCAL
namespace blink {
@@ -1504,3 +1505,5 @@ inline void HTMLTokenizer::ParseError() {
}
} // namespace blink
+
+#pragma pop_macro("DEFINE_STATIC_LOCAL")
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698