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

Unified Diff: ios/third_party/blink/src/html_tokenizer_adapter.h

Issue 2473153003: Move some compiler intrinsic #defines to base/. (Closed)
Patch Set: Don't redefine ALWAYS_INLINE in ios/... . 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: ios/third_party/blink/src/html_tokenizer_adapter.h
diff --git a/ios/third_party/blink/src/html_tokenizer_adapter.h b/ios/third_party/blink/src/html_tokenizer_adapter.h
index 6663caf44b9ac321ee56c388745a9d402c53efa0..6051f4e03e3b450e94680d4ff306da3be7294fca 100644
--- a/ios/third_party/blink/src/html_tokenizer_adapter.h
+++ b/ios/third_party/blink/src/html_tokenizer_adapter.h
@@ -8,11 +8,10 @@
#include <stddef.h>
#include <stdint.h>
+#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/macros.h"
-#define ALWAYS_INLINE inline __attribute__((always_inline))
rohitrao (ping after 24h) 2016/11/07 23:16:13 Is this being changed from "inline __attribute__((
palmer 2016/11/07 23:29:51 No, no change. compiler_specific.h says: #if COMP
sdefresne 2016/11/08 08:40:20 Yeah, clang defines __GNUC__: $ clang -dM -E - <
-
#define DEFINE_STATIC_LOCAL_STRING(name, arguments) \
static const WebCore::LChar* name = (const WebCore::LChar*)arguments; \
static const size_t name##Length = (arraysize(arguments) - 1); \

Powered by Google App Engine
This is Rietveld 408576698