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

Unified Diff: Source/core/dom/Element.h

Issue 16267005: [oilpan] Add checks to new operator Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 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: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 9bcce938e1f80e719ec476ebec4172a15a66bc26..e393b9850cf5cbe4be98c9869420acd8289dba8b 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -156,6 +156,8 @@ public:
static PassRefPtr<UniqueElementData> create();
PassRefPtr<ShareableElementData> makeShareableCopy() const;
+ OVERRIDE_NEW(UniqueElementData)
+
// These functions do no error/duplicate checking.
void addAttribute(const QualifiedName&, const AtomicString&);
void removeAttribute(size_t index);

Powered by Google App Engine
This is Rietveld 408576698