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

Unified Diff: gpu/command_buffer/client/fenced_allocator.cc

Issue 1428003002: More const int definitions for VC++ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use enums for the constants and avoid #if Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/client/fenced_allocator.h ('k') | ui/gfx/icon_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/fenced_allocator.cc
diff --git a/gpu/command_buffer/client/fenced_allocator.cc b/gpu/command_buffer/client/fenced_allocator.cc
index 726fe7dafd3a311ba9e45bcad554ca43ed676aa2..7f34e5879d6207925da158018ef368f44a66ffa4 100644
--- a/gpu/command_buffer/client/fenced_allocator.cc
+++ b/gpu/command_buffer/client/fenced_allocator.cc
@@ -27,11 +27,6 @@ unsigned int RoundUp(unsigned int size) {
} // namespace
-#ifndef _MSC_VER
-const FencedAllocator::Offset FencedAllocator::kInvalidOffset;
-const unsigned int FencedAllocator::kAllocAlignment;
-#endif
-
FencedAllocator::FencedAllocator(unsigned int size, CommandBufferHelper* helper)
: helper_(helper), bytes_in_use_(0) {
Block block = { FREE, 0, RoundDown(size), kUnusedToken };
« no previous file with comments | « gpu/command_buffer/client/fenced_allocator.h ('k') | ui/gfx/icon_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698