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

Unified Diff: third_party/WebKit/Source/wtf/Compiler.h

Issue 2518253002: Move Partition Allocator into Chromium base. (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/wtf/Compiler.h
diff --git a/third_party/WebKit/Source/wtf/Compiler.h b/third_party/WebKit/Source/wtf/Compiler.h
index 108ebd55f671239b5d115fa70602f370723691f2..3a5e1a247d928008fe234beef5284661a44a194c 100644
--- a/third_party/WebKit/Source/wtf/Compiler.h
+++ b/third_party/WebKit/Source/wtf/Compiler.h
@@ -65,12 +65,12 @@
// TODO(palmer): Remove this and update callers to use NOINLINE from Chromium
// base. https://bugs.chromium.org/p/chromium/issues/detail?id=632441
-//
-// For compatibility with callers in Blink:
#define NEVER_INLINE NOINLINE
/* WARN_UNUSED_RETURN */
+// TODO(palmer): Remove this and update callers to use WARN_UNUSED_RESULT from
+// Chromium base. https://bugs.chromium.org/p/chromium/issues/detail?id=632441
#if COMPILER(GCC)
#define WARN_UNUSED_RETURN __attribute__((warn_unused_result))
#else

Powered by Google App Engine
This is Rietveld 408576698