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

Unified Diff: tools/clang/blink_gc_plugin/tests/persistent_no_trace.cpp

Issue 2060553002: GC plugin: improve error reporting when tracing illegal fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: robustify namespace equality checking instead Created 4 years, 6 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: tools/clang/blink_gc_plugin/tests/persistent_no_trace.cpp
diff --git a/third_party/WebKit/Source/platform/text/linux/HyphenationLinux.cpp b/tools/clang/blink_gc_plugin/tests/persistent_no_trace.cpp
similarity index 52%
copy from third_party/WebKit/Source/platform/text/linux/HyphenationLinux.cpp
copy to tools/clang/blink_gc_plugin/tests/persistent_no_trace.cpp
index ca2b39fe6cce5b64bfbea81e4f691d92e2a85acc..637b46f0e05d40f681bb587ff9e82c6bf9aba946 100644
--- a/third_party/WebKit/Source/platform/text/linux/HyphenationLinux.cpp
+++ b/tools/clang/blink_gc_plugin/tests/persistent_no_trace.cpp
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "platform/text/Hyphenation.h"
+#include "persistent_no_trace.h"
namespace blink {
-PassRefPtr<Hyphenation> Hyphenation::platformGetHyphenation(const AtomicString&)
-{
- return nullptr;
+void HeapObject::trace(Visitor* visitor) {
+ visitor->trace(m_crossThreadPersistent);
+ visitor->trace(m_crossThreadWeakPersistent);
}
-} // namespace blink
+}
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/persistent_no_trace.h ('k') | tools/clang/blink_gc_plugin/tests/persistent_no_trace.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698