Index: chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc |
diff --git a/chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc b/chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc |
index 78396f09d61cbf275ebfd6725d964eb80c9e4951..ffed1e8407e4acc414c6d6b190699f1b7c6218b1 100644 |
--- a/chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc |
+++ b/chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc |
@@ -21,12 +21,12 @@ using typed_urls_helper::GetTypedUrlsFromClient; |
static const int kNumUrls = 163; |
// This compile assert basically asserts that kNumUrls is right in the |
// middle between two multiples of kDefaultMaxCommitBatchSize. |
-COMPILE_ASSERT( |
+static_assert( |
((kNumUrls % syncer::kDefaultMaxCommitBatchSize) >= |
(syncer::kDefaultMaxCommitBatchSize / 2)) && |
((kNumUrls % syncer::kDefaultMaxCommitBatchSize) <= |
((syncer::kDefaultMaxCommitBatchSize + 1) / 2)), |
- kNumUrlsShouldBeBetweenTwoMultiplesOfkDefaultMaxCommitBatchSize); |
+ "kNumUrls should be between two multiples of kDefaultMaxCommitBatchSize"); |
class TypedUrlsSyncPerfTest : public SyncTest { |
public: |