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

Side by Side Diff: third_party/WebKit/Source/core/dom/ElementRareData.cpp

Issue 2050463003: Check if Member owner thread matches pointer thread and current thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 } 101 }
102 } 102 }
103 visitor->traceWrappers(m_shadow); 103 visitor->traceWrappers(m_shadow);
104 visitor->traceWrappers(m_attributeMap); 104 visitor->traceWrappers(m_attributeMap);
105 visitor->traceWrappers(m_dataset); 105 visitor->traceWrappers(m_dataset);
106 visitor->traceWrappers(m_classList); 106 visitor->traceWrappers(m_classList);
107 visitor->traceWrappers(m_intersectionObserverData); 107 visitor->traceWrappers(m_intersectionObserverData);
108 NodeRareData::traceWrappersAfterDispatch(visitor); 108 NodeRareData::traceWrappersAfterDispatch(visitor);
109 } 109 }
110 110
111 #if !DCHECK_IS_ON()
haraken 2016/08/16 13:27:13 Can we update SameSizeAsElementRareData so that we
keishi 2016/08/17 11:18:28 Done. Also renamed SameSizeAsElementRareData::pers
111 static_assert(sizeof(ElementRareData) == sizeof(SameSizeAsElementRareData), "Ele mentRareData should stay small"); 112 static_assert(sizeof(ElementRareData) == sizeof(SameSizeAsElementRareData), "Ele mentRareData should stay small");
113 #endif
112 114
113 } // namespace blink 115 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698