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

Side by Side Diff: Source/WebKit/chromium/public/platform/WebCommon.h

Issue 9003016: Nuke unused WEBKIT_USING_DART. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #endif 55 #endif
56 56
57 #if !defined(WEBKIT_USING_V8) 57 #if !defined(WEBKIT_USING_V8)
58 #define WEBKIT_USING_V8 1 58 #define WEBKIT_USING_V8 1
59 #endif 59 #endif
60 60
61 #if !defined(WEBKIT_USING_JSC) 61 #if !defined(WEBKIT_USING_JSC)
62 #define WEBKIT_USING_JSC 0 62 #define WEBKIT_USING_JSC 0
63 #endif 63 #endif
64 64
65 #if !defined(WEBKIT_USING_DART)
66 #define WEBKIT_USING_DART 1
67 #endif
68
69 // ----------------------------------------------------------------------------- 65 // -----------------------------------------------------------------------------
70 // Exported symbols need to be annotated with WEBKIT_EXPORT 66 // Exported symbols need to be annotated with WEBKIT_EXPORT
71 67
72 #if defined(WEBKIT_DLL) 68 #if defined(WEBKIT_DLL)
73 #if defined(WIN32) 69 #if defined(WIN32)
74 #if WEBKIT_IMPLEMENTATION 70 #if WEBKIT_IMPLEMENTATION
75 #define WEBKIT_EXPORT __declspec(dllexport) 71 #define WEBKIT_EXPORT __declspec(dllexport)
76 #else 72 #else
77 #define WEBKIT_EXPORT __declspec(dllimport) 73 #define WEBKIT_EXPORT __declspec(dllimport)
78 #endif 74 #endif
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 #else 114 #else
119 #define WEBKIT_ASSERT(assertion) do { \ 115 #define WEBKIT_ASSERT(assertion) do { \
120 if (!(assertion)) \ 116 if (!(assertion)) \
121 failedAssertion(__FILE__, __LINE__, __FUNCTION__, #assertion); \ 117 failedAssertion(__FILE__, __LINE__, __FUNCTION__, #assertion); \
122 } while (0) 118 } while (0)
123 #endif 119 #endif
124 120
125 #define WEBKIT_ASSERT_NOT_REACHED() WEBKIT_ASSERT(0) 121 #define WEBKIT_ASSERT_NOT_REACHED() WEBKIT_ASSERT(0)
126 122
127 #endif 123 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698