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

Side by Side Diff: third_party/WebKit/Source/wtf/LeakAnnotations.h

Issue 1858753003: Remove RawPtr from core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Samsung Electronics. All rights reserved. 3 * Copyright (C) 2013 Samsung Electronics. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 public: 124 public:
125 static T* registerStatic(T* ptr) 125 static T* registerStatic(T* ptr)
126 { 126 {
127 return static_cast<T*>(ptr->registerAsStaticReference()); 127 return static_cast<T*>(ptr->registerAsStaticReference());
128 } 128 }
129 }; 129 };
130 130
131 #define LEAK_SANITIZER_REGISTER_STATIC_LOCAL(Type, Object) WTF::RegisterStaticLo calReference<Type>::registerStatic(Object) 131 #define LEAK_SANITIZER_REGISTER_STATIC_LOCAL(Type, Object) WTF::RegisterStaticLo calReference<Type>::registerStatic(Object)
132 #else 132 #else
133 #define WTF_INTERNAL_LEAK_SANITIZER_DISABLED_SCOPE 133 #define WTF_INTERNAL_LEAK_SANITIZER_DISABLED_SCOPE
134 #define LEAK_SANITIZER_IGNORE_OBJECT 134 #define LEAK_SANITIZER_IGNORE_OBJECT(X) ((void)0)
135 #define LEAK_SANITIZER_REGISTER_STATIC_LOCAL(Type, Object) Object 135 #define LEAK_SANITIZER_REGISTER_STATIC_LOCAL(Type, Object) Object
136 #endif // USE(LEAK_SANITIZER) 136 #endif // USE(LEAK_SANITIZER)
137 137
138 } // namespace WTF 138 } // namespace WTF
139 139
140 #endif // WTF_LeakAnnotations_h 140 #endif // WTF_LeakAnnotations_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698