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

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

Issue 58913003: command_buffer: Remove hash_tables.h, simplify atomicops.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
« no previous file with comments | « gpu/command_buffer/client/atomicops.h ('k') | gpu/command_buffer/client/buffer_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/atomicops.cc
diff --git a/gpu/command_buffer/client/atomicops.cc b/gpu/command_buffer/client/atomicops.cc
index ef68f9ea4bd646811bd304c66d0824199bdf39c7..c66fc05738e5b9e1ed210d221bc7f7d783c1c9de 100644
--- a/gpu/command_buffer/client/atomicops.cc
+++ b/gpu/command_buffer/client/atomicops.cc
@@ -15,14 +15,6 @@
namespace gpu {
-void MemoryBarrier() {
-#if defined(__native_client__)
- __sync_synchronize();
-#else
- base::subtle::MemoryBarrier();
-#endif
-}
-
#if defined(__native_client__)
class LockImpl {
« no previous file with comments | « gpu/command_buffer/client/atomicops.h ('k') | gpu/command_buffer/client/buffer_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698